1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-06-28 03:48:13 +03:00

Only build docker when included files are changed

This commit is contained in:
Markus 2019-06-02 09:48:47 +00:00
parent a3cffa7896
commit 7d8a33b91b

View File

@ -28,8 +28,13 @@ build_master:
- *dockerhub_login
- docker push "$IMAGE_NAME_DOCKERHUB:${CI_COMMIT_TAG:-latest}"
only:
- master
- tags
refs:
- master
- tags
changes:
- Dockerfile
- backup.sh
- entrypoint.sh
build_master_rpi3:
<<: *docker_build
@ -42,8 +47,13 @@ build_master_rpi3:
tags:
- rpi3
only:
- master
- tags
refs:
- master
- tags
changes:
- Dockerfile
- backup.sh
- entrypoint.sh
build:
<<: *docker_build