Include a short SHA tag when publishing images.
This commit is contained in:
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@@ -62,8 +62,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: ${{ matrix.image.repository }}
|
images: ${{ matrix.image.repository }}
|
||||||
tags: |
|
tags: |
|
||||||
# set latest tag for default branch
|
# update 'latest'
|
||||||
type=raw,value=latest,enable={{is_default_branch}}
|
type=raw,value=latest
|
||||||
|
# short SHA with a 'sha-' prefix (e.g. sha-abc123)
|
||||||
|
type=sha
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user