Skip to content
Snippets Groups Projects
Commit c29544f3 authored by Jose Carlos Luna Duran's avatar Jose Carlos Luna Duran
Browse files

Gitlab pipeline v1

parent 7e124438
No related branches found
No related tags found
No related merge requests found
stages:
- build
build:
stage: build
only:
- master
image:
name: gcr.io/kaniko-project/executor:v1.14.0-debug
entrypoint: [""]
script:
- /kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
rules:
- if: $CI_COMMIT_TAG
build_latest:
stage: build
image:
name: gcr.io/kaniko-project/executor:v1.14.0-debug
entrypoint: [""]
script:
- /kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:latest"
- cp /canary/gocanary $CI_PROJECT_DIR/
rules:
- when: manual
artifacts:
when: always
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment