Update docker build script to pull all changes (#19892)

This commit is contained in:
Aditya Manthramurthy 2024-06-07 08:43:38 -07:00 committed by GitHub
parent 069c4015cd
commit c5141d65ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,14 @@
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
remote=$(git remote get-url upstream)
if test "$remote" != "git@github.com:minio/minio.git"; then
echo "Script requires that the 'upstream' remote is set to git@github.com:minio/minio.git"
exit 1
fi
git remote update upstream && git checkout master && git rebase upstream/master
release=$(git describe --abbrev=0 --tags)
docker buildx build --push --no-cache \