Docker: Add "unstable" build target to Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
add115c7e4
commit
cd9fd2fb45
4 changed files with 9 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -321,6 +321,12 @@ docker-develop-jammy-slim:
|
|||
docker pull --platform=amd64 ubuntu:jammy
|
||||
docker pull --platform=arm64 ubuntu:jammy
|
||||
scripts/docker/buildx-multi.sh develop linux/amd64,linux/arm64 jammy-slim /jammy-slim
|
||||
unstable: docker-unstable
|
||||
docker-unstable: docker-unstable-jammy
|
||||
docker-unstable-jammy:
|
||||
docker pull --platform=amd64 photoprism/develop:jammy
|
||||
docker pull --platform=amd64 photoprism/develop:jammy-slim
|
||||
scripts/docker/buildx-multi.sh photoprism linux/amd64 unstable /jammy
|
||||
preview: docker-preview
|
||||
docker-preview: docker-preview-latest
|
||||
docker-preview-all: docker-preview-latest docker-preview-other
|
||||
|
|
|
@ -40,7 +40,7 @@ elif [[ $2 =~ $NUMERIC ]]; then
|
|||
-t photoprism/$1:latest \
|
||||
-t photoprism/$1:$2 \
|
||||
-f docker/${1/-//}$3/Dockerfile .
|
||||
elif [[ $2 == *"preview"* ]]; then
|
||||
elif [[ $2 == *"preview"* || $2 == *"unstable"* || $2 == *"test"* || $2 == *"local"* || $2 == *"develop"* ]]; then
|
||||
echo "Build Tags: $2"
|
||||
|
||||
if [[ $4 ]]; then
|
||||
|
|
|
@ -55,7 +55,7 @@ elif [[ $3 =~ $NUMERIC ]]; then
|
|||
-t photoprism/$1:latest \
|
||||
-t photoprism/$1:$3 $5 \
|
||||
--push .
|
||||
elif [[ $4 ]] && [[ $3 == *"preview"* ]]; then
|
||||
elif [[ $4 ]] && [[ $3 == *"preview"* || $3 == *"unstable"* || $3 == *"test"* ]]; then
|
||||
echo "Build Tags: $3"
|
||||
|
||||
if [[ $5 ]]; then
|
||||
|
|
|
@ -45,7 +45,7 @@ elif [[ $3 =~ $NUMERIC ]]; then
|
|||
-t photoprism/$1:latest \
|
||||
-t photoprism/$1:$3 $5 \
|
||||
--push .
|
||||
elif [[ $4 ]] && [[ $3 == *"preview"* ]]; then
|
||||
elif [[ $4 ]] && [[ $3 == *"preview"* || $3 == *"unstable"* || $3 == *"test"* ]]; then
|
||||
echo "Build Tags: $3"
|
||||
|
||||
if [[ $5 ]]; then
|
||||
|
|
Loading…
Reference in a new issue