ci: enable building with BuildKit for Compose
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
ref: https://www.docker.com/blog/faster-builds-in-compose-thanks-to-buildkit-support/
This commit is contained in:
parent
6b52682f57
commit
b58f935123
@ -86,6 +86,9 @@ steps:
|
||||
volumes:
|
||||
- name: s
|
||||
path: /var/run/docker.sock
|
||||
environment:
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
DOCKER_BUILDKIT: 1
|
||||
commands:
|
||||
- docker-compose build --no-cache --pull
|
||||
|
||||
@ -161,6 +164,11 @@ trigger:
|
||||
event:
|
||||
exclude: [pull_request, tag]
|
||||
|
||||
environment:
|
||||
# ref: https://www.docker.com/blog/faster-builds-in-compose-thanks-to-buildkit-support/
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
DOCKER_BUILDKIT: 1
|
||||
|
||||
node:
|
||||
r: main
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user