diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 41e265abace955565390711627733a3fbd2447cc..3b0f558ac2b0c2deafe673d8bd2cf32c8ea14467 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ zola check: script: - zola check -docker build: +.build: stage: build interruptible: true image: @@ -35,6 +35,19 @@ docker build: paths: - DIGESTFILE + +build production: + extends: .build + only: + - master + +build review: + extends: .build + variables: + BASE_URL: https://$CI_COMMIT_REF_SLUG.review.teckids.org + only: + - merge_requests + .deploy: stage: deploy image: line/kubectl-kustomize:latest