Update docker-publish.yml
This commit is contained in:
parent
bf91b08f27
commit
23762c2b1a
1 changed files with 5 additions and 6 deletions
11
.github/workflows/docker-publish.yml
vendored
11
.github/workflows/docker-publish.yml
vendored
|
@ -51,11 +51,6 @@ 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 }}
|
||||
|
||||
|
@ -67,5 +62,9 @@ jobs:
|
|||
context: ./bullseye
|
||||
file: ./bullseye/Dockerfile
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
tags: |
|
||||
# set latest tag for default branch
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
# set version tag
|
||||
type=semver,pattern={{version}}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue