ci: restrict docker build to main branch and tags (#3)
This commit is contained in:
parent
dae6d559e5
commit
ac8ecfb1aa
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue