You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We cannot just tag an existing image anymore when publishing a tagged release. Instead we need to build a new image and set the app/version dynamically at build time using:
go build -ldflags "-X github.com/obolnetwork/charon/app/version.Version=${GIT_TAG} ..."
So we should:
Refactor charon Dockerfile to support optional app version overrides using env vars
Refactor build-push-deploy action to set the env var accordingly when triggered by a tag event
The text was updated successfully, but these errors were encountered:
🎯 Problem to be solved
See the release v2 design doc. We need to set the
app.version
to the value of the git tag (and docker image tag) for official tagged releases.🛠️ Proposed solution
We cannot just tag an existing image anymore when publishing a tagged release. Instead we need to build a new image and set the app/version dynamically at build time using:
So we should:
The text was updated successfully, but these errors were encountered: