mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
10 lines
243 B
Bash
Executable file
10 lines
243 B
Bash
Executable file
#!/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} .
|