komga/ci/docker-common.sh
2021-08-30 16:57:20 +08:00

14 lines
256 B
Bash

# Arguments
# 1: next version
# 2: channel
export DOCKER_CLI_EXPERIMENTAL=enabled
PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64/v8
if [ -z "$2" ]; then
DOCKER_CHANNEL="latest"
else
DOCKER_CHANNEL=$2
fi
echo "DockerHub channel: $DOCKER_CHANNEL"