Skip to content
Snippets Groups Projects
Commit ecf6aca3 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

docker image

parent d173ec2d
No related branches found
No related tags found
2 merge requests!120Resolve "Code Quality",!90Develop
Pipeline #67290 failed
image: docker:19.03.12
services:
- docker:19.03.12-dind
......@@ -8,6 +7,7 @@ variables:
DOCKER_IMAGE_SHA: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
build:docker:
image: docker:19.03.12
tags:
- dind
stage: build
......@@ -23,10 +23,11 @@ build:docker:
-t $DOCKER_IMAGE_SHA .
.deploy: &deploy
image: docker:19.03.12
stage: deploy
needs: ["build:docker"]
tags:
- baremetal
- dind
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker tag $DOCKER_IMAGE_SHA $TAG
......
image: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
variables:
TF_ROOT: ${CI_PROJECT_DIR}/test/terraform
......@@ -10,6 +9,7 @@ cache:
- ${TF_ROOT}/.terraform
.terraform_prefab: &tf
image: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
variables:
CI_DEBUG_TRACE: "false"
before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment