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:
parent
d3a62c8dba
commit
473e17fc63
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue