ci: restrict docker build to main branch and tags (#3)

This commit is contained in:
Hector 2021-02-08 20:07:56 +00:00
parent dae6d559e5
commit ac8ecfb1aa

View file

@ -38,6 +38,9 @@ build:
docker-gitlab: docker-gitlab:
stage: build stage: build
only:
- main
- tags
image: docker:stable image: docker:stable
services: services:
- docker:dind - docker:dind