File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 59
59
push : true
60
60
tags : |
61
61
ghcr.io/coder/coder-base:latest
62
+
63
+ - name : Verify that images are pushed properly
64
+ run : |
65
+ manifests=$(
66
+ docker manifest inspect ghcr.io/coder/coder-base:latest | \
67
+ jq -r '.manifests[].platform | .os + "/" + .architecture + (if .variant then "/" + .variant else "" end)'
68
+ )
69
+
70
+ # Verify all 3 platforms are present.
71
+ set -euxo pipefail
72
+ echo "$manifests" | grep -q linux/amd64
73
+ echo "$manifests" | grep -q linux/arm64
74
+ echo "$manifests" | grep -q linux/arm/v7
Original file line number Diff line number Diff line change @@ -195,6 +195,19 @@ jobs:
195
195
tags : |
196
196
${{ steps.image-base-tag.outputs.tag }}
197
197
198
+ - name : Verify that base images are pushed properly
199
+ run : |
200
+ manifests=$(
201
+ docker manifest inspect "${{ steps.image-base-tag.outputs.tag }}" | \
202
+ jq -r '.manifests[].platform | .os + "/" + .architecture + (if .variant then "/" + .variant else "" end)'
203
+ )
204
+
205
+ # Verify all 3 platforms are present.
206
+ set -euxo pipefail
207
+ echo "$manifests" | grep -q linux/amd64
208
+ echo "$manifests" | grep -q linux/arm64
209
+ echo "$manifests" | grep -q linux/arm/v7
210
+
198
211
- name : Build Linux Docker images
199
212
run : |
200
213
set -euxo pipefail
You can’t perform that action at this time.
0 commit comments