File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 with :
4545 images : ${{ github.repository }}
4646
47- - name : Build/push the arm image
47+ - name : Sanitize registry repository name
48+ id : get-reg
49+ run : |
50+ echo "registry=$(echo '${{ steps.meta.outputs.tags }}' | cut -f1 -d:)" | tee -a "$GITHUB_OUTPUT"
51+
52+ - name : Build/push the arch-specific image
4853 id : build
4954 uses : docker/build-push-action@v6
5055 with :
@@ -54,13 +59,13 @@ jobs:
5459 labels : ${{ steps.meta.outputs.labels }}
5560 provenance : true
5661 sbom : true
57- tags : ${{ steps.meta .outputs.tags }}
62+ tags : ${{ steps.get-reg .outputs.registry }}
5863 outputs : type=image,push-by-digest=true,push=true
5964
6065 - name : Write arch-specific image digest to outputs
6166 id : gen-output
6267 run : |
63- echo "image-${RUNNER_ARCH,,}=${{ steps.meta .outputs.tags }}@${{ steps.build.outputs.digest }}" | tee -a "$GITHUB_OUTPUT"
68+ echo "image-${RUNNER_ARCH,,}=${{ steps.get-reg .outputs.registry }}@${{ steps.build.outputs.digest }}" | tee -a "$GITHUB_OUTPUT"
6469
6570 merge :
6671 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments