Skip to content

Commit 16ea1e8

Browse files
committed
auth before pushing to registry...
1 parent e1930d4 commit 16ea1e8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,6 @@ jobs:
123123
docker load --input /tmp/image-amd64.tar
124124
docker load --input /tmp/image-arm64.tar
125125
126-
# Push individual architecture images to registry
127-
- name: Push architecture-specific images
128-
run: |
129-
IMAGE_BASE="${{ env.REGISTRY }}/${{ env.QUAY_IMAGE_NAME }}"
130-
docker push "${IMAGE_BASE}:build-${{ github.run_id }}-amd64"
131-
docker push "${IMAGE_BASE}:build-${{ github.run_id }}-arm64"
132-
133126
# Install the cosign tool
134127
# https://github.com/sigstore/cosign-installer
135128
- name: Install cosign
@@ -144,6 +137,13 @@ jobs:
144137
username: ${{ secrets.QUAY_USERNAME }}
145138
password: ${{ secrets.QUAY_PASSWORD }}
146139

140+
# Push individual architecture images to registry
141+
- name: Push architecture-specific images
142+
run: |
143+
IMAGE_BASE="${{ env.REGISTRY }}/${{ env.QUAY_IMAGE_NAME }}"
144+
docker push "${IMAGE_BASE}:build-${{ github.run_id }}-amd64"
145+
docker push "${IMAGE_BASE}:build-${{ github.run_id }}-arm64"
146+
147147
# Extract metadata for multi-arch manifest
148148
- name: Extract Docker metadata for manifest
149149
id: meta

0 commit comments

Comments
 (0)