dkbuild: corriger calcul des tags
This commit is contained in:
parent
c671cb399d
commit
c9e8110ece
6
dkbuild
6
dkbuild
|
@ -1938,8 +1938,12 @@ function define_functions_cmd() {
|
|||
fi
|
||||
if [ -n "$autotag" ]; then
|
||||
if [ -n "$DIST" ]; then
|
||||
[ -n "$HAVE_VERSION" -a "$VERSION" == "$LAST_VERSION" ] && imagetags+=("$imagetag:$DIST")
|
||||
if [ -z "$HAVE_VERSION" ]; then
|
||||
dist LATEST && imagetags+=("$imagetag:latest")
|
||||
elif [ "$VERSION" == "$LAST_VERSION" ]; then
|
||||
imagetags+=("$imagetag:$DIST")
|
||||
dist LATEST && imagetags+=("$imagetag:latest")
|
||||
fi
|
||||
elif [ -n "$PROFILE" ]; then
|
||||
profile DEFAULT && imagetags+=("$imagetag:latest")
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue