Skip to content
Permalink
Browse files

gitlabci: avoid building dev version when updating the base image

  • Loading branch information
ppanero committed Feb 20, 2019
1 parent 0c20778 commit d4cd32a6c787119d1fc0a50469d86b230acc29fd
Showing with 12 additions and 2 deletions.
  1. +12 −2 .gitlab-ci.yml
@@ -47,8 +47,13 @@ build_base_image:
build_dev_version:
stage: build
except:
- tags
- master
refs:
- tags
- master
changes:
- Dockerfile-base
- Pipfile
- Pipfile.lock
environment: staging
tags:
- docker-image-build
@@ -106,6 +111,11 @@ tag_image_prod:
### Import image into OpenShift. Import $CI_COMMIT_TAG if present or 'latest' if not.
import_image_dev:
stage: import_image
except:
changes:
- Dockerfile\-base
- Pipfile
- Pipfile.lock
environment: staging
image: gitlab-registry.cern.ch/paas-tools/openshift-client:latest
script:

0 comments on commit d4cd32a

Please sign in to comment.
You can’t perform that action at this time.