dk: ajouter automatiquement le suffixe -$DIST à la version
This commit is contained in:
parent
68794910a6
commit
d03b04f822
5
dk
5
dk
|
@ -570,8 +570,13 @@ function initialize_build_env() {
|
|||
NAME=
|
||||
TAGS=(latest)
|
||||
VERSION=
|
||||
DIST=
|
||||
}
|
||||
function default_update_build_env() {
|
||||
if [ -n "$DIST" ]; then
|
||||
[ -n "$VERSION" ] && VERSION="$VERSION-"
|
||||
VERSION="$VERSION$DIST"
|
||||
fi
|
||||
[ -n "$VERSION" ] || docker_add_build_arg VERSION "$(get_version)"
|
||||
[ -n "$VERSION" ] && TAGS+=("$VERSION")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue