mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-27 16:26:37 +03:00
Fixed version set during docker image build
This commit is contained in:
parent
234190f493
commit
217003381a
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ set -ex
|
|||
if [[ ${SOURCE_BRANCH} == 'master' ]]; then
|
||||
SHLINK_RELEASE='latest'
|
||||
else
|
||||
SHLINK_RELEASE=${SOURCE_BRANCH}
|
||||
SHLINK_RELEASE=${SOURCE_BRANCH#?}
|
||||
fi
|
||||
|
||||
docker build --build-arg SHLINK_VERSION=${SHLINK_RELEASE#?} -t ${IMAGE_NAME} .
|
||||
docker build --build-arg SHLINK_VERSION=${SHLINK_RELEASE} -t ${IMAGE_NAME} .
|
||||
|
|
Loading…
Reference in a new issue