From acd108f48c92b8d60aa03b6e03ede2631ccdeb17 Mon Sep 17 00:00:00 2001 From: Markxu <51899048+xubiaolin@users.noreply.github.com> Date: Mon, 20 May 2024 09:36:56 +0800 Subject: [PATCH] Update build.sh --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3483142..7c42c4d 100755 --- a/build.sh +++ b/build.sh @@ -14,4 +14,5 @@ latest_docker_tag=$(curl -s "https://hub.docker.com/v2/repositories/${DOCKER_IMA # fi echo "Latest tag for $USER/$REPO matching latest is: $latest_tag" -docker buildx build --platform linux/arm64,linux/amd64 -t myimage:latest --push . \ No newline at end of file +docker buildx build --platform linux/arm64,linux/amd64 -t "$DOCKER_IMAGE":latest --push . +docker buildx build --platform linux/arm64,linux/amd64 -t "${DOCKER_IMAGE}:${latest_tag}" --push .