Skip to content

Commit

Permalink
testing image building on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
lostbean committed Feb 15, 2024
1 parent acd884f commit 4d85fd3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -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}"

0 comments on commit 4d85fd3

Please sign in to comment.