diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 1c09cf7..66f4ad3 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: - - 'main' + - 'dev' tags: - 'v*' @@ -42,8 +42,8 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=sha,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} - type=raw,value=dev,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} + type=sha,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }} + type=raw,value=dev,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }} type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}