Update docker-publish.yml
This commit is contained in:
parent
02461cc797
commit
e4470d8418
1 changed files with 5 additions and 0 deletions
5
.github/workflows/docker-publish.yml
vendored
5
.github/workflows/docker-publish.yml
vendored
|
@ -51,6 +51,11 @@ jobs:
|
|||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
|
||||
tags: |
|
||||
# set latest tag for default branch
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
# set version tag
|
||||
type=semver,pattern={{version}}
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue