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:
|
||||
stage: build
|
||||
only:
|
||||
- main
|
||||
- tags
|
||||
image: docker:stable
|
||||
services:
|
||||
- docker:dind
|
||||
|
|
Loading…
Reference in a new issue