Skip to content

Commit d116ca4

Browse files
committed
Fix vars
1 parent 1015a55 commit d116ca4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pr-open.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434

3535
- run: |
3636
# Verify tagging
37-
INSPECT="docker manifest inspect ghcr.io/${{ inputs.organization }}/${{ inputs.repository }}/${{ matrix.package }}"
38-
SOURCE=$(${INSPECT}:${{ inputs.tag_promote }} | jq -r '.manifests[] | select(.platform.architecture=="amd64") | .digest')
39-
TARGET=$(${INSPECT}:${{ inputs.target }} | jq -r '.manifests[] | select(.platform.architecture=="amd64") | .digest')
37+
INSPECT="docker manifest inspect ghcr.io/${{ github.repository }}/${{ matrix.package }}"
38+
SOURCE=$(${INSPECT}:latest | jq -r '.manifests[] | select(.platform.architecture=="amd64") | .digest')
39+
TARGET=$(${INSPECT}:${{ github.event.number }} | jq -r '.manifests[] | select(.platform.architecture=="amd64") | .digest')
4040
if [ "${SOURCE}" != "${TARGET}" ]; then
4141
echo "ERROR: Tagging failed!"
4242
exit 1

0 commit comments

Comments
 (0)