Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.27 KB

DEVELOPMENT.md

File metadata and controls

38 lines (25 loc) · 1.27 KB

Release process

  1. export GITHUB_TOKEN
  2. Commit everything
  3. Tag latest commit: git tag -s v1.0.0 -m "release v1.0.0"
  4. Upload release: goreleaser --rm-dist
  5. Don't forget to push (both main and the tag)

Update build image

Build image contains all the tools required to create local builds.

To publish a new storjup/build image:

  1. go install github.com/magefile/mage
  2. mage dockerBuildBuild (only build)
  3. mage dockerBuildPublish (build and publish)
  4. New tag is saved to build.last. Please commit that file with your PR.
  5. Use the new tag in edge.Dockerfile and storj.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

Update Storj image

Storj image contains all the binaries required to run the satellite.

To publish a new storjup/storj image:

  1. go install github.com/magefile/mage
  2. mage DockerStorj <latest release version> <false> (only build)
  3. mage DockerStorj <latest release version> <true> (build and publish)
  4. 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