stuve-it-backend/.gitlab-ci.yml

15 lines
328 B
YAML
Raw Normal View History

2023-11-20 15:32:32 +00:00
stages:
- build
build-container:
stage: build
image:
2023-11-20 15:36:27 +00:00
name: gcr.io/kaniko-project/executor:latest
2023-11-20 15:32:32 +00:00
entrypoint: [ "" ]
script:
- /kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
only:
- main