mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
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
|
|
@ -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…
Add table
Add a link
Reference in a new issue