Commit 6871b519 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

reverted .gitlab-ci.yml build order due to nonexistent tags

parent 2e74df41
Pipeline #246 passed with stage
in 4 minutes and 22 seconds
......@@ -13,7 +13,6 @@ php_image:
export minor_version=`expr ${version} ':' '[^.]\+\.\([^-]\+\)'`
export suffix=`expr ${CI_COMMIT_TAG} ':' '[^-]\+-\(.*\)'`
docker build -t ubleipzig/vufind-php:${version}-${suffix} -f ${version}/Dockerfile .
docker build -t ubleipzig/vufind-php:${version}-${suffix}-debug -f ${version}/debug/Dockerfile .
docker push ubleipzig/vufind-php:${version}-${suffix}
for tag in "latest" "${major_version}" "${version}"; do
if [ "$tag" == "latest" -a "${version}" != "7.2" ]; then continue; fi
......@@ -21,6 +20,7 @@ php_image:
docker tag ubleipzig/vufind-php:${version}-${suffix} ubleipzig/vufind-php:${tag}
docker push ubleipzig/vufind-php:${tag}
done
docker build -t ubleipzig/vufind-php:${version}-${suffix}-debug -f ${version}/debug/Dockerfile .
docker push ubleipzig/vufind-php:${version}-${suffix}-debug
for tag in "latest-debug" "${major_version}-debug" "${version}-debug"; do
if [ "$tag" == "latest-debug" -a "${version}" != "7.2" ]; then continue; fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment