Skip to content

Instantly share code, notes, and snippets.

@amavlyanov
Last active August 30, 2023 08:21
Show Gist options
  • Save amavlyanov/7d5f0c231b4dd19f6562c29eb75795ca to your computer and use it in GitHub Desktop.
Save amavlyanov/7d5f0c231b4dd19f6562c29eb75795ca to your computer and use it in GitHub Desktop.
docker-ci.yml
docker:
stage: build-docker
when: manual
rules:
- if: $CLIENT
needs:
- job: build artifact
artifacts: true
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}:program-${VERSION}-$CLIENT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment