ungleich-certbot/build.sh

14 lines
280 B
Bash
Executable File

#!/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
docker tag ungleich-certbot:latest ungleich/ungleich-certbot:${tag}
docker push ungleich/ungleich-certbot:${tag}
done