mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-28 09:51:40 -06:00
11 lines
218 B
Bash
Executable File
11 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} .
|