summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-05 03:55:51 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-05 03:58:49 +0000
commit6e8a188e4a1af8147f358312e182287a0d7bd1c0 (patch)
tree6ee4bea391cea42a129813fe7c70b4d2156ddaaa
parent435358265c5210339266ad49737d61c536601b39 (diff)
Include a short SHA tag when publishing images.
-rw-r--r--.github/workflows/publish.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 115e49c2a..be8581bd1 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -62,8 +62,10 @@ jobs:
with:
images: ${{ matrix.image.repository }}
tags: |
- # set latest tag for default branch
- type=raw,value=latest,enable={{is_default_branch}}
+ # update 'latest'
+ type=raw,value=latest
+ # short SHA with a 'sha-' prefix (e.g. sha-abc123)
+ type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v3