Skip to content
Snippets Groups Projects
Verified Commit bf5ebd5c authored by tribut's avatar tribut :man_dancing:
Browse files

Add simple CI docker build using kaniko

parent e5976892
No related branches found
No related tags found
No related merge requests found
Pipeline #36824 passed
docker-build:
image:
name: gcr.io/kaniko-project/executor:v1.23.2-debug
entrypoint: [""]
stage: build
variables:
DOCKER_IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- /kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${DOCKER_IMAGE_NAME}"
rules:
- if: $CI_COMMIT_BRANCH
exists:
- Dockerfile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment