This commit is contained in:
xubiaolin 2024-09-26 21:25:09 +08:00
parent de2e55d20f
commit 70e91da350

View File

@ -14,5 +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,linux/arm/v7 -t "$DOCKER_IMAGE":latest --push .
docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -t "${DOCKER_IMAGE}:${latest_tag}" --push .
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 .