Skip to content
Snippets Groups Projects

Use include for gitlabci.yml, instead of repeating

Merged kwadronaut requested to merge kwadronaut/openvpn:gitci into master
1 file
+ 2
12
Compare changes
  • Side-by-side
  • Inline
+ 2
12
---
stages:
- build
build:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context ${CI_PROJECT_DIR} --dockerfile Dockerfile --destination ${CI_REGISTRY_IMAGE}:latest
include:
- 'https://0xacab.org/leap/container-platform/glue/raw/master/.gitlab-ci.yml'
Loading