From 70e0a1181996c79e0e4fb6d7aa3eb93930e4eee5 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Tue, 17 Dec 2024 21:00:21 +0100 Subject: [PATCH] ci: add beta image tag for all beta releases (#1693) --- .github/workflows/deployment-docker-image.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deployment-docker-image.yml b/.github/workflows/deployment-docker-image.yml index 68669115e..603b20262 100644 --- a/.github/workflows/deployment-docker-image.yml +++ b/.github/workflows/deployment-docker-image.yml @@ -103,6 +103,7 @@ jobs: env: NEXT_VERSION: ${{ needs.release.outputs.version }} DEPLOY_LATEST: ${{ github.ref_name == 'main' }} + DEPLOY_BETA: ${{ github.ref_name == 'beta' }} PUSH_IMAGE: ${{ github.event_name != 'workflow_dispatch' || github.events.inputs.push-image == 'true' }} steps: - uses: actions/checkout@v4 @@ -130,6 +131,7 @@ jobs: 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 }} type=raw,value=${{ env.NEXT_VERSION }} - name: Build and maybe push id: buildPushAction