🚢 GitHub Actions: Set edge, branch and semver tags (including latest)

test/github-actions
Gerber, Mike 2 years ago
parent 252a125ed2
commit 83cad85b21

@ -33,6 +33,9 @@ jobs:
with: with:
images: | images: |
quratorspk/ocrd-galley-${{ inputs.subimage }} quratorspk/ocrd-galley-${{ inputs.subimage }}
flavor: |
latest=auto
# latest=auto should generate "latest" for the type=semver tags entry
tags: ${{ inputs.tags }} tags: ${{ inputs.tags }}
- -
name: Login to Docker Hub name: Login to Docker Hub

@ -41,6 +41,9 @@ jobs:
subimage: ${{ matrix.subimage }} subimage: ${{ matrix.subimage }}
tags: | tags: |
type=sha,format=long type=sha,format=long
type=edge,branch=master
type=ref,event=branch
type=semver,pattern={{version}}
secrets: inherit secrets: inherit
build-rest: build-rest:

Loading…
Cancel
Save