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

Update ci config

parent f8e11a72
No related branches found
No related tags found
No related merge requests found
Pipeline #179482 failed
This commit is part of merge request !50. Comments created here will be created in the context of that merge request.
......@@ -28,5 +28,15 @@ docker build:
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/Dockerfile
--destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
--digest-file DIGESTFILE
--cache=true
--cleanup
deploy docker image:
stage: deploy
image: bitnami/kubectl:latest
script:
- cd deploy
- sed -i s/IMAGE_TAG/$CI_COMMIT_REF_NAME@sha256:$(cat DIGESTFILE)/g
- cat deployment.yaml
# - for file in *; do kubectl apply -f $file; done
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