mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-30 10:51:21 +03:00
10 lines
218 B
Bash
Executable file
10 lines
218 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
if [[ ${SOURCE_BRANCH} == 'develop' ]]; then
|
|
SHLINK_RELEASE='latest'
|
|
else
|
|
SHLINK_RELEASE=${SOURCE_BRANCH#?}
|
|
fi
|
|
|
|
docker build --build-arg SHLINK_VERSION=${SHLINK_RELEASE} -t ${IMAGE_NAME} .
|