Skip to content

Commit

Permalink
Fix build-push-images.sh test (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm authored Jan 5, 2024
1 parent ce1bceb commit df39056
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion scripts/build-push-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ docker buildx build --load \
docker buildx build --load \
"${GH_UBI8_TAGS[@]}" \
"${UBI8_ARGS[@]}" \
--platform linux/amd64,linux/arm64 \
--platform linux/amd64 \
.

docker buildx build --load \
"${GH_UBI8_TAGS[@]}" \
"${UBI8_ARGS[@]}" \
--platform linux/arm64 \
.

TAGS_TO_PUSH=("${GH_ARM64_TAGS[@]}" "${GH_TAGS[@]}" "${GH_UBI_TAGS[@]}" "${GH_UBI8_TAGS[@]}")
Expand Down
7 changes: 6 additions & 1 deletion scripts/push-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,19 @@ UBI_ARGS=(
--target cass-config-builder-ubi
)

UBI8_ARGS=(
"${COMMON_ARGS[@]}"
--target cass-config-builder-ubi-8
)

docker buildx build --push \
"${DOCKERHUB_UBI_TAGS[@]}" \
"${UBI_ARGS[@]}" \
--platform linux/amd64 .

docker buildx build --push \
"${DOCKERHUB_UBI8_TAGS[@]}" \
"${UBI_ARGS[@]}" \
"${UBI8_ARGS[@]}" \
--platform linux/amd64,linux/arm64 .

docker buildx build --push \
Expand Down

0 comments on commit df39056

Please sign in to comment.