Skip to content

Commit df39056

Browse files
authored
Fix build-push-images.sh test (#52)
1 parent ce1bceb commit df39056

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

scripts/build-push-images.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,13 @@ docker buildx build --load \
7878
docker buildx build --load \
7979
"${GH_UBI8_TAGS[@]}" \
8080
"${UBI8_ARGS[@]}" \
81-
--platform linux/amd64,linux/arm64 \
81+
--platform linux/amd64 \
82+
.
83+
84+
docker buildx build --load \
85+
"${GH_UBI8_TAGS[@]}" \
86+
"${UBI8_ARGS[@]}" \
87+
--platform linux/arm64 \
8288
.
8389

8490
TAGS_TO_PUSH=("${GH_ARM64_TAGS[@]}" "${GH_TAGS[@]}" "${GH_UBI_TAGS[@]}" "${GH_UBI8_TAGS[@]}")

scripts/push-release.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,19 @@ UBI_ARGS=(
5050
--target cass-config-builder-ubi
5151
)
5252

53+
UBI8_ARGS=(
54+
"${COMMON_ARGS[@]}"
55+
--target cass-config-builder-ubi-8
56+
)
57+
5358
docker buildx build --push \
5459
"${DOCKERHUB_UBI_TAGS[@]}" \
5560
"${UBI_ARGS[@]}" \
5661
--platform linux/amd64 .
5762

5863
docker buildx build --push \
5964
"${DOCKERHUB_UBI8_TAGS[@]}" \
60-
"${UBI_ARGS[@]}" \
65+
"${UBI8_ARGS[@]}" \
6166
--platform linux/amd64,linux/arm64 .
6267

6368
docker buildx build --push \

0 commit comments

Comments
 (0)