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