From 649506b56a5f3cbbee9b782b637730f2196785cc Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Tue, 17 Dec 2024 21:10:21 +0100 Subject: [PATCH] fix: boolean checks do not work correctly in deploy workflow --- .github/workflows/deployment-docker-image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment-docker-image.yml b/.github/workflows/deployment-docker-image.yml index 984472e86..80e99e68a 100644 --- a/.github/workflows/deployment-docker-image.yml +++ b/.github/workflows/deployment-docker-image.yml @@ -130,8 +130,8 @@ jobs: with: images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}" tags: | - ${{ env.DEPLOY_LATEST == true && 'type=raw,value=latest' || null }} - ${{ env.DEPLOY_BETA == true && 'type=raw,value=beta' || null }} + ${{ env.DEPLOY_LATEST == 'true' && 'type=raw,value=latest' || null }} + ${{ env.DEPLOY_BETA == 'true' && 'type=raw,value=beta' || null }} type=raw,value=${{ env.NEXT_VERSION }} - name: Build and maybe push id: buildPushAction @@ -150,4 +150,4 @@ jobs: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} uses: Ilshidur/action-discord@master with: - args: "Deployment of image has completed for branch ${{ github.ref_name }}. Image ID is '${{ steps.buildPushAction.outputs.imageid }}'. ${{ env.PUSH_IMAGE == true && '' || 'This was a dry run' }}" + args: "Deployment of image has completed for branch ${{ github.ref_name }}. Image ID is '${{ steps.buildPushAction.outputs.imageid }}'. ${{ env.PUSH_IMAGE == 'true' && '' || 'This was a dry run' }}"