ci: add 'VCS_REF' build arg during compose build
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
35b2cd330c
commit
c9553bf7e5
@ -138,7 +138,7 @@ steps:
|
|||||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
commands:
|
commands:
|
||||||
- docker-compose build --no-cache --pull
|
- docker-compose build --build-arg VCS_REF=${DRONE_COMMIT} --no-cache --pull
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: s
|
- name: s
|
||||||
@ -300,7 +300,7 @@ steps:
|
|||||||
- name: s
|
- name: s
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker-compose build --no-cache
|
- docker-compose build --build-arg VCS_REF=${DRONE_COMMIT} --no-cache
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
status: success
|
status: success
|
||||||
|
Loading…
Reference in New Issue
Block a user