From 4d85fd3cbf5538d06be165e9c1ac88bfcdc00384 Mon Sep 17 00:00:00 2001 From: lostbean Date: Thu, 15 Feb 2024 09:30:48 -0300 Subject: [PATCH] testing image building on arm64 --- test.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test.sh diff --git a/test.sh b/test.sh new file mode 100644 index 0000000000..1cf94cc57f --- /dev/null +++ b/test.sh @@ -0,0 +1,12 @@ +set -euo pipefail +source core/server/scripts/_constants.env +dockerfile_filepath='core/server/Dockerfile' +version_build="$(./scripts/get-docker-tag.sh)" +version_to_publish="$(cat version.txt)" +echo "Version that was built: ${version_build}" +echo "Version that will be published: ${version_to_publish}" +image_name_with_version="${IMAGE_ORG_AND_REPO}:${version_build}" +image_name_to_publish_semver="${IMAGE_ORG_AND_REPO}:${version_to_publish}" +image_name_to_publish_latest="${IMAGE_ORG_AND_REPO}:latest" +push_to_dockerhub=true +scripts/docker-image-builder.sh "${push_to_dockerhub}" "${dockerfile_filepath}" "${image_name_with_version}" "${image_name_to_publish_semver}" "${image_name_to_publish_latest}"