Update .gitlab-ci.yml

This commit is contained in:
Iain Powrie 2021-09-21 00:52:18 +00:00
parent 0cac7fcd1e
commit 0e040059a2

View File

@ -13,6 +13,8 @@ buildx:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
GIT_STRATEGY: none
tags:
- docker
artifacts:
paths:
- buildx
@ -28,6 +30,8 @@ docker-build-dev:
- name: docker:dind
command: ["--experimental"]
stage: build-dev
tags:
- docker
rules:
- if: $CI_COMMIT_BRANCH == 'dev'
environment:
@ -57,6 +61,8 @@ docker-build-prod:
- name: docker:dind
command: ["--experimental"]
stage: build-prod
tags:
- docker
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
environment: