From ac8ecfb1aafedb24be6b040ff7f18f655843fe62 Mon Sep 17 00:00:00 2001 From: Hector Date: Mon, 8 Feb 2021 20:07:56 +0000 Subject: [PATCH] ci: restrict docker build to main branch and tags (#3) --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ec69a9c..dc3d272 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,6 +38,9 @@ build: docker-gitlab: stage: build + only: + - main + - tags image: docker:stable services: - docker:dind