ungleich-certbot/build.sh

14 lines
280 B
Bash
Raw Normal View History

2021-10-11 03:28:20 +00:00
#!/bin/sh
set -e
docker build -t ungleich-certbot .
while [ $# -ge 1 ]; do
tag=$1; shift
git tag -a -m "Version $tag" $tag
git push --tags
2021-10-11 03:28:20 +00:00
docker tag ungleich-certbot:latest ungleich/ungleich-certbot:${tag}
docker push ungleich/ungleich-certbot:${tag}
done