Add source branch variable to docker hub build environment (#163)

This commit is contained in:
Steklov Sergei 2020-12-29 17:08:38 +03:00 committed by GitHub
parent 1e69a3a416
commit faa8c66d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,3 @@
#!/bin/bash
export SRV_VERSION=$DOCKER_TAG
docker-compose -f build.yml build
docker-compose -f build.yml build --build-arg GIT_BRANCH=$SOURCE_BRANCH