Skip to content

Commit

Permalink
Don't publish Docker release builds as "latest" immediately, but tag …
Browse files Browse the repository at this point in the history
…them "rc". Once we want to really go live, add "latest" tag.
  • Loading branch information
michaelherger committed Nov 22, 2024
1 parent c4d4310 commit d895809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
# TODO - needs to be smarter!
run: |
if [ "${{ inputs.build-type }}" = "release" ]; then
echo "LMS_TAG=--tag=latest" >> $GITHUB_OUTPUT
echo "LMS_TAG=--tag=rc" >> $GITHUB_OUTPUT
elif [ "${{ steps.getversion.outputs.LMS_VERSION }}" = "9.0" ]; then
echo "LMS_TAG=--tag=dev" >> $GITHUB_OUTPUT
elif [ "${{ steps.getversion.outputs.LMS_VERSION }}" = "8.5" ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/00_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
type: string
description: 'The branch from which to build from'
required: true
# TODO - make this dynamic
# TODO - make this dynamic, or something like https://dev.to/mrmike/github-action-handling-input-default-value-5f2g?
default: public/9.0
build_type:
type: choice
Expand Down

0 comments on commit d895809

Please sign in to comment.