/push-gvmi

Automating the building and pushing parts of working with GVMI images

Primary LanguagePythonMIT LicenseMIT

push-gvmi

Automating the building and pushing parts of working with GVMI images

What you need to do:

  • First, go to Settings > Secrets > Actions > New repository secret and create a SKYNET_REGISTRY_SEED secret. This can be anything, really. Words, a hash, a phrase, a password, you name it. image

  • Then, create your /.github/workflows/push-gvmi.yml file.

  • Now change the skylink on this line to the marked text below, taken from the workflow's successful run (navigate here & click the top one). This skylink will never change, so you just need to do it when you create your new project. image

  • To get your automatically updating image hash, run await get_hash()

Requirements:

  • Must be on a 'main' branch.
  • Must have a Dockerfile at the root of your repository.
  • Install the Skynet dependency: pip install siaskynet
  • Install the aiofiles dependency: pip install aiofiles