Skip to content

Commit

Permalink
Merge pull request #60 from burmanm/fix_release_scripts
Browse files Browse the repository at this point in the history
Fix release script to do what build-push does
  • Loading branch information
burmanm authored Apr 18, 2024
2 parents f95d87f + 15ac1c0 commit 5044a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions scripts/push-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ if ! [ "v${VERSION_NUMBER}" = "${GIT_TAG}" ]; then
fi

DOCKERHUB_TAGS=(--tag "${DOCKERHUB_REPOSITORY}:${RELEASE_VERSION}" --tag "${DOCKERHUB_REPOSITORY}:${RELEASE_MINOR_VERSION}")
DOCKERHUB_UBI_TAGS=(--tag "${DOCKERHUB_REPOSITORY}:${RELEASE_VERSION}-ubi7" --tag "${DOCKERHUB_REPOSITORY}:${RELEASE_MINOR_VERSION}-ubi7")
DOCKERHUB_UBI8_TAGS=(--tag "${DOCKERHUB_REPOSITORY}:${RELEASE_VERSION}-ubi8" --tag "${DOCKERHUB_REPOSITORY}:${RELEASE_MINOR_VERSION}-ubi8")

LABELS=(
Expand Down Expand Up @@ -50,19 +49,9 @@ 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[@]}" \
"${UBI8_ARGS[@]}" \
"${UBI_ARGS[@]}" \
--platform linux/amd64,linux/arm64 .

docker buildx build --push \
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.9
1.0.10

0 comments on commit 5044a18

Please sign in to comment.