We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0508458 commit 17d3038Copy full SHA for 17d3038
.github/workflows/.pr-close.yml
@@ -95,6 +95,16 @@ jobs:
95
target: ${{ inputs.target }}
96
tags: ${{ inputs.tag_promote }}
97
98
+ - run: |
99
+ # Verify tagging
100
+ INSPECT="docker manifest inspect ghcr.io/${{ inputs.organization }}/${{ inputs.repository }}/${{ matrix.package }}"
101
+ SOURCE=$(${INSPECT}:${{ inputs.tag_promote }} | jq -r '.manifests[] | select(.platform.architecture=="amd64") | .digest')
102
+ TARGET=$(${INSPECT}:${{ inputs.target }} | jq -r '.manifests[] | select(.platform.architecture=="amd64") | .digest')
103
+ if [ "${SOURCE}" != "${TARGET}" ]; then
104
+ echo "ERROR: Tagging failed!"
105
+ exit 1
106
+ fi
107
+
108
# Clean up OpenShift when PR closed, no conditions
109
cleanup:
110
name: OpenShift
0 commit comments