Skip to content
Snippets Groups Projects
Commit 8957dc5b authored by Teemu Autto's avatar Teemu Autto
Browse files

Added build.environment

parent 06d03384
No related branches found
No related tags found
No related merge requests found
## Stage names in the pipeline. ## Stage names in the pipeline.
stages: stages:
- build - build
- deploy
variables: variables:
## Name for the generated image. Change this if you wish, but watch out ## Name for the generated image. Change this if you wish, but watch out
...@@ -10,7 +9,7 @@ variables: ...@@ -10,7 +9,7 @@ variables:
DOCKER_TAG: latest DOCKER_TAG: latest
## (Optional) More verbose output from pipeline. Enabling it might reveal secrets. ## (Optional) More verbose output from pipeline. Enabling it might reveal secrets.
CI_DEBUG_TRACE: "true" #CI_DEBUG_TRACE: "true"
## Use buildkit to build the container. `docker build` requires elevated ## Use buildkit to build the container. `docker build` requires elevated
...@@ -19,6 +18,7 @@ variables: ...@@ -19,6 +18,7 @@ variables:
## Example gitlab-ci buildkit template: https://gitlab.com/txlab/ci-templates ## Example gitlab-ci buildkit template: https://gitlab.com/txlab/ci-templates
build: build:
stage: build stage: build
environment: production
image: image:
name: moby/buildkit:v0.10.6-rootless name: moby/buildkit:v0.10.6-rootless
entrypoint: [ "sh", "-c" ] entrypoint: [ "sh", "-c" ]
......
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