1
0
Fork 0
mirror of https://github.com/Luzifer/dns.git synced 2024-12-23 03:11:20 +00:00

Only push image when on master

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-09-29 00:06:37 +02:00
parent d3a62c8dba
commit 473e17fc63
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -2,7 +2,7 @@ default: container
container: container:
docker build --no-cache --pull -t luzifer/dns . docker build --no-cache --pull -t luzifer/dns .
docker push luzifer/dns bash -eo pipefail -c '[ "$(REF)" == "refs/heads/master" ] && docker push luzifer/dns || true'
check_zones: .venv check_zones: .venv
./.venv/bin/python3 checkZonefile.py ./.venv/bin/python3 checkZonefile.py