Switched to using kaniko

This commit is contained in:
Teodor
2026-05-07 00:19:44 +02:00
parent d5b868d726
commit 9366b19edd

View File

@@ -14,10 +14,11 @@ run_flask_app:
build_docker_image: build_docker_image:
stage: build stage: build
image: docker:24 image:
services: name: gcr.io/kaniko-project/executor:debug
- docker:24-dind entrypoint: [""]
variables:
DOCKER_TLS_CERTDIR: "/certs"
script: script:
- docker build -t flask-app . - /kaniko/executor
--context "$CI_PROJECT_DIR"
--dockerfile "$CI_PROJECT_DIR/Dockerfile"
--no-push