mirror of
https://github.com/gotson/komga.git
synced 2025-12-15 21:12:27 +01:00
25 lines
649 B
Bash
Executable file
25 lines
649 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Arguments:
|
|
# 1: next version
|
|
# 2: channel
|
|
|
|
source "$(dirname "$0")/docker-common.sh" $1 $2
|
|
|
|
# Push docker images (built previously)
|
|
cd komga
|
|
docker buildx build \
|
|
--platform $PLATFORMS \
|
|
--cache-from gotson/komga:$DOCKER_CHANNEL \
|
|
--tag gotson/komga:$DOCKER_CHANNEL \
|
|
--tag gotson/komga:$1 \
|
|
--file ./Dockerfile . \
|
|
--push
|
|
|
|
# Temporary: build legacy adoptopenjdk image
|
|
docker buildx build \
|
|
--platform $PLATFORMS \
|
|
--cache-from gotson/komga:$DOCKER_CHANNEL-legacy \
|
|
--tag gotson/komga:$DOCKER_CHANNEL-legacy \
|
|
--tag gotson/komga:$1-legacy \
|
|
--file ./Dockerfile.legacy . \
|
|
--push
|