Skip to content

Commit a23a76a

Browse files
bugfix: extra hyphen in build image id
1 parent 00ed942 commit a23a76a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: docker/metadata-action@v5
4040
with:
4141
images: ghcr.io/${{ github.repository }}
42-
tags: type=sha,suffix=-build-${{ github.run_id }}_ ${{ github.run_attempt }}
42+
tags: type=sha,suffix=-build-${{ github.run_id }}_${{ github.run_attempt }}
4343

4444
# Build cache is shared among all builds of the same architecture
4545
- id: cache-meta
@@ -72,6 +72,7 @@ jobs:
7272
echo "image-digest-${RUNNER_ARCH,,}=${{ steps.get-registry.outputs.registry }}@${{ steps.build.outputs.digest }}" | tee -a "$GITHUB_OUTPUT"
7373
7474
merge:
75+
name: create multi-platform image
7576
needs: build
7677
runs-on: ubuntu-24.04
7778
env:

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
DOCKER_METADATA_OUTPUT_TAGS: ${{ inputs.tags }}
1818

1919
jobs:
20-
push:
20+
tag:
2121
runs-on: ubuntu-24.04
2222
steps:
2323
- name: Login to GitHub Container Registry

0 commit comments

Comments
 (0)