Skip to content
Snippets Groups Projects
Verified Commit e0b804c7 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Use kaniko instead of buildaah

parent 464093db
No related branches found
No related tags found
No related merge requests found
Pipeline #179366 failed
......@@ -14,11 +14,21 @@ stages:
- deploy
build:
interruptible: true
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- buildah bud -t teckids.org:latest
interruptible: true
retry: 1
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" >/kaniko/.docker/config.json
- /kaniko/executor
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/Dockerfile
--destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
--cache=true
--cleanup
only:
- master
deploy:
stage: deploy
......
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