Skip to content

Commit bbc50d5

Browse files
committed
create new docker builder
1 parent b558807 commit bbc50d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/deploy_docker.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
2323

2424
docker login -u "$DOCKER_USER" -p "$DOCKER_PASSWORD"
2525

26-
docker buildx build --platform linux/amd64,linux/arm64 -f tools/Dockerfile -t "$IMAGE_NAME":"$DOCKER_TAG" .
26+
docker buildx create --use
27+
docker buildx build --platform linux/amd64,linux/arm64 --push -f tools/Dockerfile -t "$IMAGE_NAME":"$DOCKER_TAG" .
2728

2829
echo "NEW_GIT_TAG=$NEW_GIT_TAG"
2930
if [ ! -z "$NEW_GIT_TAG" ]; then
3031
docker tag "$IMAGE_NAME":"$DOCKER_TAG" "$IMAGE_NAME":"$NEW_GIT_TAG"
32+
docker push "$IMAGE_NAME":"$NEW_GIT_TAG"
3133
fi
32-
33-
docker push --all-tags "$IMAGE_NAME"

0 commit comments

Comments
 (0)