Closed matifali closed 1 month ago
@dannykopping I have tested the workflow except the push image step, but will pass this through the linter. Thanks for calling it.
@matifali is this good to merge?
Yes. Once the CI passes it should be good to merge.
This pull request updates the
ci
workflow to build and push a Docker image for themain
branch.Image is pushed to
ghcr.io/coder/envbuilder-preview
to not pollute the manually tagged versions atghcr.io/coder/envbuilder
This will help test the features that are under development.
Each image is tagged as
latest
and$(./scripts/version.sh)-dev-$(git rev-parse --short HEAD)
e.g.,ghcr.io/coder/envbuilder-preview:latest
ghcr.io/coder/envbuilder-preview:v0.2.9-dev-ab86184
Alternatively, we can push
ghcr.io/coder/envbuilder:main
to the same package.