Skip to content
Snippets Groups Projects
Commit 965930c3 authored by Pavel Vondruska's avatar Pavel Vondruska
Browse files

pridani gitlab-ci pro build docker image pres kaniko

parent 248ec9aa
No related branches found
No related tags found
No related merge requests found
Pipeline #113 passed
image: alpine:3.12
variables:
DEST: ${CI_REGISTRY_IMAGE}:0.1
build oidc:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/latest --dockerfile Dockerfile --destination $DEST --verbosity info
# vim: ts=2 sw=2 ai et
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment