mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Fixed how docker credentials are read from secrets
This commit is contained in:
@@ -6,8 +6,6 @@ PLATFORMS="linux/arm/v7,linux/arm64/v8,linux/amd64"
|
||||
# PLATFORMS="linux/amd64"
|
||||
DOCKER_IMAGE="shlinkio/lab"
|
||||
|
||||
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
|
||||
|
||||
# If ref is not develop, then this is a tag. Build that docker tag and also "stable"
|
||||
if [[ "$GITHUB_REF" != *"develop"* ]]; then
|
||||
TAGS="-t ${DOCKER_IMAGE}:${GITHUB_REF#?}"
|
||||
|
||||
Reference in New Issue
Block a user