- export
GITHUB_TOKEN
- Commit everything
- Tag latest commit:
git tag -s v1.0.0 -m "release v1.0.0"
- Upload release:
goreleaser --rm-dist
- Don't forget to push (both
main
and the tag)
Build image contains all the tools required to create local builds.
To publish a new storjup/build
image:
go install github.com/magefile/mage
mage dockerBuildBuild
(only build)mage dockerBuildPublish
(build and publish)- New tag is saved to
build.last
. Please commit that file with your PR. - Use the new tag in
edge.Dockerfile
andstorj.Dockerfile
Note: This process is assuming that you already authorized yourself with img.dev.storj.io
with docker login
.
Note: publishing base image is very similar
Storj image contains all the binaries required to run the satellite.
To publish a new storjup/storj
image:
go install github.com/magefile/mage
mage DockerStorj <latest release version> <false>
(only build)mage DockerStorj <latest release version> <true>
(build and publish)- Use the new tag in recipe files
Note: This process is assuming that you already authorized yourself with img.dev.storj.io
with docker login
.
Note: publishing edge image is very similar