Skip to content
Snippets Groups Projects
Commit 51caa1b6 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

do not use dind for performance reasons

parent 19930492
Branches
No related tags found
No related merge requests found
image: docker:19.03.1
services:
- docker:19.03.1-dind
stages:
- build
......@@ -16,7 +14,7 @@ build:
stage: build
script:
- docker pull ${CI_REGISTRY_IMAGE}:latest || true
- docker build --cache-from ${CI_REGISTRY_IMAGE}:latest
- docker build --cache-from ${CI_REGISTRY_IMAGE}:latestci
--tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
--tag ${CI_REGISTRY_IMAGE}:latest .
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment