mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-23 07:33:58 -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} .
|