diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 6c960ae..a48ce93 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -63,8 +63,8 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.REPOSITORY }} tags: | - type=raw,value=${{IMAGE_TAG}},enable=${{ github.ref == format('refs/heads/{0}', 'main') }} - type=raw,value=${{IMAGE_TAG}},enable={{is_default_branch}} + type=raw,value=${{env.IMAGE_TAG}},enable=${{ github.ref == format('refs/heads/{0}', 'main') }} + type=raw,value=${{env.IMAGE_TAG}},enable={{is_default_branch}} - name: Build and push image uses: docker/build-push-action@v5