mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
11 lines
243 B
Text
11 lines
243 B
Text
|
#!/bin/bash
|
||
|
set -ex
|
||
|
|
||
|
if [[ ${SOURCE_BRANCH} == 'master' ]]; then
|
||
|
SHLINK_WEB_CLIENT_RELEASE='latest'
|
||
|
else
|
||
|
SHLINK_WEB_CLIENT_RELEASE=${SOURCE_BRANCH#?}
|
||
|
fi
|
||
|
|
||
|
docker build --build-arg VERSION=${SHLINK_WEB_CLIENT_RELEASE} -t ${IMAGE_NAME} .
|