mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
adding tag with branch and non-default PHP version e.g. 21.1.20220406-8.0
This commit is contained in:
parent
b303f16d61
commit
00e439bc81
@ -35,7 +35,11 @@ docker pull ubuntu:20.04
|
||||
docker build --no-cache --build-arg "VERSION=$VERSION" --build-arg "PHP_VERSION=$PHP_VERSION" -t egroupware/egroupware:$TAG . && {
|
||||
docker push egroupware/egroupware:$TAG
|
||||
# further tags are only for the default PHP version
|
||||
[ $PHP_VERSION != $DEFAULT_PHP_VERSION ] && exit
|
||||
[ $PHP_VERSION != $DEFAULT_PHP_VERSION ] && {
|
||||
docker tag egroupware/egroupware:$TAG egroupware/egroupware:$BRANCH-$PHP_VERSION
|
||||
docker push egroupware/egroupware:$BRANCH-$PHP_VERSION
|
||||
exit
|
||||
}
|
||||
# tag only stable releases as latest
|
||||
[ $TAG != "master" ] && {
|
||||
docker tag egroupware/egroupware:$TAG egroupware/egroupware:latest
|
||||
|
Loading…
Reference in New Issue
Block a user