From c22a387695a95f2ccebe6fd828d85bc966686b5f Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 2 Dec 2020 17:34:34 -0800 Subject: [PATCH] fix: building docker images --- docker-buildx-ubi.sh | 1 - docker-buildx.sh | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-buildx-ubi.sh b/docker-buildx-ubi.sh index 83bab36ac..219c1345f 100755 --- a/docker-buildx-ubi.sh +++ b/docker-buildx-ubi.sh @@ -10,4 +10,3 @@ docker buildx build --push --no-cache -t "minio/minio:${release}-ubi" \ docker buildx prune -f sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=0 - diff --git a/docker-buildx.sh b/docker-buildx.sh index 0ad93e03c..85c680926 100755 --- a/docker-buildx.sh +++ b/docker-buildx.sh @@ -2,11 +2,14 @@ sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=1 -release=$(git describe --abbrev=0 --tags) docker buildx build --push --no-cache -t "minio/minio:latest" \ --platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \ -f Dockerfile.release . +docker buildx prune -f + +release=$(git describe --abbrev=0 --tags) + docker buildx build --push --no-cache -t "minio/minio:${release}" \ --platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \ -f Dockerfile.release . @@ -14,4 +17,3 @@ docker buildx build --push --no-cache -t "minio/minio:${release}" \ docker buildx prune -f sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=0 -