From ab368fcfc7ba3c8de3bcbd176dfd92d22d599421 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 4 Apr 2024 18:15:53 -0700 Subject: [PATCH] fix use stable / latest tags correctly --- .github/workflows/ghcr_deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ghcr_deploy.yml b/.github/workflows/ghcr_deploy.yml index 7c13fff22f..c7288a7c31 100644 --- a/.github/workflows/ghcr_deploy.yml +++ b/.github/workflows/ghcr_deploy.yml @@ -27,8 +27,10 @@ jobs: id: set-release-type run: | if [ "${{ github.event.inputs.stable }}" == "true" ]; then + echo "stable release" echo "type_release=stable" >> $GITHUB_ENV else + echo "latest release" echo "type_release=latest" >> $GITHUB_ENV fi @@ -142,7 +144,7 @@ jobs: context: . file: Dockerfile.database push: true - tags: ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.stable && 'stable' || 'latest' }} + tags: ${{ steps.meta-database.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }}, ${{ steps.meta-database.outputs.tags }}-${{ env.type_release }} labels: ${{ steps.meta-database.outputs.labels }} platforms: local,linux/amd64,linux/arm64,linux/arm64/v8