diff options
| author | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-05 03:55:51 +0000 |
|---|---|---|
| committer | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-05 03:58:49 +0000 |
| commit | 6e8a188e4a1af8147f358312e182287a0d7bd1c0 (patch) | |
| tree | 6ee4bea391cea42a129813fe7c70b4d2156ddaaa | |
| parent | 435358265c5210339266ad49737d61c536601b39 (diff) | |
Include a short SHA tag when publishing images.
| -rw-r--r-- | .github/workflows/publish.yml | 6 |
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 |