Commit f1a574b7 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Build docker images only in master, triggers and/or tags

parent 37b196ea
......@@ -22,6 +22,10 @@ stages:
- docker pull "$CI_REGISTRY_IMAGE/$CI_JOB_NAME" || true
- docker build --cache-from "$CI_REGISTRY_IMAGE/$CI_JOB_NAME" -t "$CI_REGISTRY_IMAGE/$CI_JOB_NAME" "contrib/docker/$CI_JOB_NAME"
- docker push "$CI_REGISTRY_IMAGE/$CI_JOB_NAME"
only:
- master
- triggers
- tags
debian:latest:
<<: *image
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment