https://github.com/figurestudios/push-gvmi
Automating the building and pushing parts of working with GVMI images
https://github.com/figurestudios/push-gvmi
golem skynet
Last synced: 2 months ago
JSON representation
Automating the building and pushing parts of working with GVMI images
- Host: GitHub
- URL: https://github.com/figurestudios/push-gvmi
- Owner: figurestudios
- License: mit
- Created: 2022-06-19T18:32:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-23T16:04:45.000Z (almost 3 years ago)
- Last Synced: 2024-01-24T04:14:59.373Z (about 1 year ago)
- Topics: golem, skynet
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
- Then, create your [/.github/workflows/push-gvmi.yml](https://github.com/figurestudios/push-gvmi/blob/main/.github/workflows/push-gvmi.yml) file.
- Now change the skylink on [this line](https://github.com/figurestudios/push-gvmi/blob/main/get-parse_hash.py#L7) to the marked text below, taken from the workflow's successful run (navigate [here](https://github.com/figurestudios/push-gvmi/actions) & click the top one). This skylink will never change, so you just need to do it when you create your new project.

- 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`