Commit 131c58a2 authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files

CI: build without cache

In CI, the images should always be built from scratch, and not use
cached layers. So pass --no-cache to `docker-compose build` to make sure
this happens.
parent 2009a5d9
Pipeline #114056 passed with stages
in 23 minutes and 47 seconds
......@@ -10,7 +10,7 @@ build-gitlab:
apk add -X https://dl-cdn.alpinelinux.org/alpine/edge/community
go-task-task
curl
- task build
- task build -- --no-cache
artifacts:
paths: [build-args.env]
tags: [ci-docker-image, x86_64]
......
......@@ -104,7 +104,7 @@ tasks:
run: when_changed
build-gitlab:
cmds:
- docker-compose build gitlab
- docker-compose build {{.CLI_ARGS}} gitlab
deps:
- .build-args
- build-gitlab-shell
......@@ -130,7 +130,7 @@ tasks:
vars: {project: gitaly}
build-gitaly:
cmds:
- docker-compose build gitaly
- docker-compose build {{.CLI_ARGS}} gitaly
deps:
- .build-args
- deploy-libs-gitaly
......@@ -153,7 +153,7 @@ tasks:
vars: {project: gitlab-shell}
build-gitlab-shell:
cmds:
- docker-compose build gitlab-shell
- docker-compose build {{.CLI_ARGS}} gitlab-shell
deps:
- .build-args
- deploy-libs-gitlab-shell
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment