mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-20 01:29:04 +08:00
fix: latest image tag not push in GitHub action (#3213)
This commit is contained in:
parent
cc5ccaaca1
commit
a33b774314
2
.github/workflows/build-push.yml
vendored
2
.github/workflows/build-push.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: ${{ env[matrix.image_name_env] }}
|
images: ${{ env[matrix.image_name_env] }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/') }}
|
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
|
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
|
||||||
type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user