chore: update build-push.yml to remove unnecessary tags

This commit is contained in:
-LAN- 2024-09-04 20:20:39 +08:00
parent 94432a0a69
commit 4b0d2bf57f

View File

@ -125,7 +125,6 @@ jobs:
with:
images: ${{ env[matrix.image_name_env] }}
tags: |
type=raw,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=ref,event=branch
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}