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
|
||||
DOCKER_BUILDKIT: 1
|
||||
commands:
|
||||
- docker-compose build --no-cache --pull
|
||||
- docker-compose build --build-arg VCS_REF=${DRONE_COMMIT} --no-cache --pull
|
||||
|
||||
volumes:
|
||||
- name: s
|
||||
@ -300,7 +300,7 @@ steps:
|
||||
- name: s
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker-compose build --no-cache
|
||||
- docker-compose build --build-arg VCS_REF=${DRONE_COMMIT} --no-cache
|
||||
when:
|
||||
branch: master
|
||||
status: success
|
||||
|
Loading…
Reference in New Issue
Block a user