You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
479 B
15 lines
479 B
#!/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 tag ungleich-certbot:latest harbor.ungleich.svc.p10.k8s.ooo/ungleich-public/ungleich-certbot:${tag} |
|
docker push ungleich/ungleich-certbot:${tag} |
|
docker push harbor.ungleich.svc.p10.k8s.ooo/ungleich-public/ungleich-certbot:${tag} |
|
done
|
|
|