From 3215fe85d721418dc851c9c31d5ffac39b505804 Mon Sep 17 00:00:00 2001 From: Jakob Miksch Date: Sun, 28 Jul 2024 23:35:11 +0200 Subject: [PATCH] asf --- .github/workflows/build-container.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 66f4ad3..1c09cf7 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -3,7 +3,7 @@ name: Build and Push Docker Image on: push: branches: - - 'dev' + - 'main' tags: - 'v*' @@ -42,8 +42,8 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=sha,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }} - type=raw,value=dev,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }} + type=sha,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} + type=raw,value=dev,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}