We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27fff3e commit 17ec44eCopy full SHA for 17ec44e
.github/workflows/weekly-release.yml
@@ -61,6 +61,7 @@ jobs:
61
62
- name: Push per architecture images and create multi-arch manifest
63
run: |
64
+ set -eu -o pipefail
65
set +x
66
IMAGE_AMMENDS=()
67
@@ -72,6 +73,15 @@ jobs:
72
73
IMAGE_AMMENDS+=( "--amend" "${new_image}" )
74
done
75
76
+ if [[ ! " ${IMAGE_AMMENDS[*]} " =~ -amd64 ]]; then
77
+ echo "expected to contain an amd64 image"
78
+ exit 1
79
+ fi
80
+ if [[ ! " ${IMAGE_AMMENDS[*]} " =~ -arm64 ]]; then
81
+ echo "expected to contain an arm64 image"
82
83
84
+
85
docker manifest create "grafana/pyroscope:${WEEKLY_IMAGE_TAG}" "${IMAGE_AMMENDS[@]}"
86
docker manifest push "grafana/pyroscope:${WEEKLY_IMAGE_TAG}"
87
- name: Get github app token (valid for an hour)
0 commit comments