ci: add 'VCS_REF' build arg during compose build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-08-08 16:51:03 +02:00
parent 35b2cd330c
commit c9553bf7e5
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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