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