feat: add latest tag to docker build
Some checks failed
Some checks failed
This commit is contained in:
parent
f38768166a
commit
f2048f920c
@ -27,6 +27,13 @@ runs:
|
|||||||
with:
|
with:
|
||||||
context: workflow
|
context: workflow
|
||||||
images: ${{ inputs.registry_image }}
|
images: ${{ inputs.registry_image }}
|
||||||
|
tags: |
|
||||||
|
type=ref,event=branch
|
||||||
|
type=ref,event=tag
|
||||||
|
type=ref,event=pr
|
||||||
|
type=semver,pattern={{version}}
|
||||||
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
|
type=raw,value=latest,enable={{is_default_branch}}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user