*: add version file

Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
paulfantom 2021-06-03 14:57:39 +02:00
parent 89b6c7e31c
commit aae4ef6b51
No known key found for this signature in database
GPG key ID: 12AE0185401674E7
3 changed files with 6 additions and 5 deletions

View file

@ -3,7 +3,7 @@ set -x
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
if [[ -n $TRAVIS_TAG ]]; then
make push VERSION=${TRAVIS_TAG}
make push TAG="$(cat "VERSION")"
else
make push-amd64
fi