diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index de0a88f6a7..a4bf33f9cb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,9 +32,9 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=raw,value=latest type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} type=raw,value=stable,enable=${{ startsWith(github.ref, 'refs/tags/') }} + type=ref,event=pr - name: Show tags run: |