teleport icon indicating copy to clipboard operation
teleport copied to clipboard

build: Select stage/prod env based on $(VERSION)

Open camscale opened this issue 10 months ago • 1 comments

Select the appropriate stage or prod GitHub Actions environment when running tag-build or tag-publish based on $(VERSION). If a version string has no pre-release suffix, or it has -cloud. then it is considered a prod release and will be built/published in the build-prod/publish-prod environment. Other pre-release tags will be built/published in the build-stage/publish-stage environment.

This can be overridden by specifying the environment name when building or publishing:

make ENVIRONMENT=build-prod tag-build
make ENVIRONMENT=publish-prod tag-publish

camscale avatar Apr 16 '24 02:04 camscale

This needs an e ref update and to be merged in sync with https://github.com/gravitational/teleport.e/pull/4122

fheinecke avatar May 10 '24 22:05 fheinecke