Content-Length: 209652 | pFad | http://github.com/bluet/vback/commit/bde4daaee1b90b31f9895e5844902a5b16da9bbd

64 add docker-build.sh · bluet/vback@bde4daa · GitHub
Skip to content

Commit

Permalink
add docker-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bluet committed Aug 24, 2022
1 parent e2aaddb commit bde4daa
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docker-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

VERSION=1.0.1

docker build -t bluet/vback .
docker scan bluet/vback:latest

docker tag bluet/vback:latest bluet/vback:${VERSION}
git tag "${VERSION}" -a -m "vback ${VERSION}"
git push
git push --tags

# Fixes busybox trigger error https://github.com/tonistiigi/xx/issues/36#issuecomment-926876468
docker run --privileged -it --rm tonistiigi/binfmt --install all

docker buildx create --use

while true; do
read -p "Have I Updated VERSION Info? (Is current VERSION=${VERSION} ?) [y/N]" yn
case $yn in
[Yy]* ) docker buildx build -t bluet/vback:latest -t bluet/vback:${VERSION} --platform linux/amd64,linux/arm64/v8,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 --push .; break;;
[Nn]* ) exit;;
* ) echo "";;
esac
done


0 comments on commit bde4daa

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/bluet/vback/commit/bde4daaee1b90b31f9895e5844902a5b16da9bbd

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy