mirror of
https://github.com/minio/minio
synced 2024-11-05 17:34:01 +00:00
47 lines
1.5 KiB
Bash
Executable file
47 lines
1.5 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
release=$(git describe --abbrev=0 --tags)
|
|
|
|
docker buildx build --push --no-cache \
|
|
--build-arg RELEASE="${release}" -t "minio/minio:latest" \
|
|
--platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
|
|
-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 \
|
|
-f Dockerfile.release .
|
|
|
|
docker buildx prune -f
|
|
|
|
docker buildx build --push --no-cache \
|
|
--build-arg RELEASE="${release}" -t "minio/minio:${release}" \
|
|
--platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
|
|
-f Dockerfile.release .
|
|
|
|
docker buildx prune -f
|
|
|
|
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
|
|
|
|
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
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|