use flavor latest=true instead of type=raw tag
This commit is contained in:
parent
cae31d7891
commit
76fa4ea95b
1 changed files with 2 additions and 1 deletions
|
|
@ -43,12 +43,13 @@ jobs:
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: git.vodyanoysh.ru/${{ inputs.image_name }}
|
images: git.vodyanoysh.ru/${{ inputs.image_name }}
|
||||||
|
flavor: |
|
||||||
|
latest=true
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=sha,prefix=sha-
|
type=sha,prefix=sha-
|
||||||
type=raw,value=latest
|
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue