2020-11-26 12:47:30 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-11-22 16:56:06 -05:00
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
2020-11-26 12:47:30 -05:00
|
|
|
|
2021-03-10 12:41:44 -05:00
|
|
|
release=$(git describe --abbrev=0 --tags)
|
|
|
|
|
|
|
|
docker buildx build --push --no-cache \
|
|
|
|
--build-arg RELEASE="${release}" -t "minio/minio:latest" \
|
2020-12-09 21:56:11 -05:00
|
|
|
--platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
|
2021-09-01 21:48:26 -04:00
|
|
|
-f Dockerfile.release .
|
|
|
|
|
|
|
|
docker buildx prune -f
|
|
|
|
|
|
|
|
docker buildx build --push --no-cache \
|
|
|
|
--build-arg RELEASE="${release}" -t "quay.io/minio/minio:latest" \
|
|
|
|
--platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
|
2020-11-26 23:22:51 -05:00
|
|
|
-f Dockerfile.release .
|
|
|
|
|
2020-12-02 20:34:34 -05:00
|
|
|
docker buildx prune -f
|
|
|
|
|
2021-03-10 12:41:44 -05:00
|
|
|
docker buildx build --push --no-cache \
|
|
|
|
--build-arg RELEASE="${release}" -t "minio/minio:${release}" \
|
2020-12-09 21:56:11 -05:00
|
|
|
--platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
|
2020-11-26 23:22:51 -05:00
|
|
|
-f Dockerfile.release .
|
2020-11-26 12:47:30 -05:00
|
|
|
|
2020-11-26 23:22:51 -05:00
|
|
|
docker buildx prune -f
|
2020-11-26 12:47:30 -05:00
|
|
|
|
2021-06-11 19:05:16 -04:00
|
|
|
docker buildx build --push --no-cache \
|
|
|
|
--build-arg RELEASE="${release}" -t "quay.io/minio/minio:${release}" \
|
|
|
|
--platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
|
|
|
|
-f Dockerfile.release .
|
|
|
|
|
|
|
|
docker buildx prune -f
|
|
|
|
|
2021-06-18 12:11:55 -04:00
|
|
|
docker buildx build --push --no-cache \
|
|
|
|
--build-arg RELEASE="${release}" -t "minio/minio:${release}.fips" \
|
|
|
|
--platform=linux/amd64 -f Dockerfile.release.fips .
|
|
|
|
|
|
|
|
docker buildx prune -f
|
|
|
|
|
|
|
|
docker buildx build --push --no-cache \
|
|
|
|
--build-arg RELEASE="${release}" -t "quay.io/minio/minio:${release}.fips" \
|
|
|
|
--platform=linux/amd64 -f Dockerfile.release.fips .
|
|
|
|
|
|
|
|
docker buildx prune -f
|
|
|
|
|
2021-11-22 16:56:06 -05:00
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|