Make docker scripts use get-version

This commit is contained in:
Adam Spiers 2019-06-28 17:08:48 +01:00
parent 6d195f95e0
commit ee57b1abc6
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
set -eu set -eu
version=$( git describe --match v* --abbrev=0 ) version=$( tools/get-version )
imagename=stowtest imagename=stowtest
image=$imagename:$version image=$imagename:$version

View file

@ -3,6 +3,6 @@
# Test Stow across multiple Perl versions, by executing the # Test Stow across multiple Perl versions, by executing the
# Docker image built via build-docker.sh. # Docker image built via build-docker.sh.
version=$( git describe --match v* --abbrev=0 ) version=$( tools/get-version )
docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) stowtest:$version docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) stowtest:$version