From d895809827b946efb0beef1b954771c0a55d1cee Mon Sep 17 00:00:00 2001 From: Michael Herger Date: Fri, 22 Nov 2024 16:29:47 +0100 Subject: [PATCH] Don't publish Docker release builds as "latest" immediately, but tag them "rc". Once we want to really go live, add "latest" tag. --- .github/actions/build/action.yaml | 2 +- .github/workflows/00_build.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index efd9be30e8..fa559a1713 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -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 diff --git a/.github/workflows/00_build.yaml b/.github/workflows/00_build.yaml index 9e0a7af67d..55b1f672d8 100644 --- a/.github/workflows/00_build.yaml +++ b/.github/workflows/00_build.yaml @@ -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