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 fc0560d commit 1015a55Copy full SHA for 1015a55
.github/workflows/pr-open.yml
@@ -32,6 +32,16 @@ jobs:
32
target: latest
33
tags: ${{ github.event.number }}
34
35
+ - run: |
36
+ # 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')
40
+ if [ "${SOURCE}" != "${TARGET}" ]; then
41
+ echo "ERROR: Tagging failed!"
42
+ exit 1
43
+ fi
44
+
45
deploys:
46
name: Deploys
47
needs: [builds, validate]
0 commit comments