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:
|
volumes:
|
||||||
- name: s
|
- name: s
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
environment:
|
||||||
|
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||||
|
DOCKER_BUILDKIT: 1
|
||||||
commands:
|
commands:
|
||||||
- docker-compose build --no-cache --pull
|
- docker-compose build --no-cache --pull
|
||||||
|
|
||||||
@ -161,6 +164,11 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
exclude: [pull_request, tag]
|
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:
|
node:
|
||||||
r: main
|
r: main
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user