- export
GITHUB_TOKEN - Commit everything
- Tag latest commit:
git tag -s v1.0.0 -m "release v1.0.0" - Push tag:
git push origin v1.0.0 - Upload release:
goreleaser release
- Mage. You can install it with
go install github.com/magefile/mage - Docker with multi-platform enabled or configured, depending what Docker you use https://docs.docker.com/build/building/multi-platform
- Docker client has access img.dev.storj.io registry (e.g.
docker login ...). This is only required for publishing the images
Build image contains all the tools required to create local builds.
To publish a new storjup/build image:
mage dockerBuildBuild(only build)mage dockerBuildPublish(build and publish)- New tag is saved to
pkg/files/docker/build.last. Please commit that file with your PR.
Base image contains the storj-up binaries and required OS packages.
To publish a new storjup/base image:
mage dockerBaseBuild(only build)mage dockerBasePublish(build and publish)- New tag is saved to
pkg/files/docker/base.last. Please commit that file with your PR.
Storj image contains all the binaries required to run the satellite.
To publish a new storjup/storj image:
mage dockerStorjBuild <version> "" ""(only build, uses tags from .last files)mage dockerStorjPublish <version> "" ""(build and publish, uses tags from .last files)- Use the new tag in recipe files
To use specific build/base image tags:
mage dockerStorjBuild <version> <buildTag> <baseTag>
mage dockerStorjPublish <version> <buildTag> <baseTag>version: Required. The storj version withoutvprefix (e.g.,1.147.5)buildTag: Optional. Build image tag; pass""to use value frompkg/files/docker/build.lastbaseTag: Optional. Base image tag; pass""to use value frompkg/files/docker/base.last
Edge image contains all the binaries required to run the edge services.
To publish a new storjup/edge image:
mage dockerEdgeBuild <version> "" ""(only build, uses tags from .last files)mage dockerEdgePublish <version> "" ""(build and publish, uses tags from .last files)- Use the new tag in recipe files
To use specific build/base image tags:
mage dockerEdgeBuild <version> <buildTag> <baseTag>
mage dockerEdgePublish <version> <buildTag> <baseTag>version: Required. The edge version withoutvprefix (e.g.,1.111.0)buildTag: Optional. Build image tag; pass""to use value frompkg/files/docker/build.lastbaseTag: Optional. Base image tag; pass""to use value frompkg/files/docker/base.last