Commit 2764bf24 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

restructured gitlab-ci

parent 4a8fbdbd
Pipeline #217 passed with stage
in 43 seconds
......@@ -11,10 +11,10 @@ stages:
mkdir -p ~/.docker && echo "$DOCKER_AUTH_CONFIG" >~/.docker/config.json
export suffix=`expr $CI_COMMIT_TAG ':' '2.4-\(.*\)'`
cd 2.4
docker build --pull -t ubleipzig/vufind-httpd:2.4-${suffix} .
docker push ubleipzig/vufind-httpd:2.4-${suffix}
for tag in "latest" "2" "2.4"; do
docker tag ubleipzig/vufind-httpd:2.4-${suffix} ubleipzig/vufind-httpd:${tag}
docker build --pull -t ubleipzig/vufind-httpd:2.4 .
docker push ubleipzig/vufind-httpd:2.4
for tag in "latest" "2" "2.4-${suffix}"; do
docker tag ubleipzig/vufind-httpd:2.4 ubleipzig/vufind-httpd:${tag}
docker push ubleipzig/vufind-httpd:${tag}
done
tags:
......@@ -33,10 +33,11 @@ vufind1:
mkdir -p ~/.docker && echo "$DOCKER_AUTH_CONFIG" >~/.docker/config.json
export suffix=`expr ${CI_COMMIT_TAG} ':' 'vufind1/2.4-\(.*\)'`
cd vufind1
docker build --pull -t ubleipzig/vufind-httpd:2.4-${suffix}-vufind1 .
for tag in "latest" "2" "2.4"; do
docker tag ubleipzig/vufind-httpd-vufind1:2.4-${suffix}-vufind1 ubleipzig/vufind-httpd:${tag}-vufind1
docker push ubleipzig/vufind-httpd:${tag}-vufind1
docker build --pull -t ubleipzig/vufind-httpd:vufind1 .
docker push ubleipzig/vufind-httpd:vufind1
for tag in "2" "2.4" "2.4-${suffix}"; do
docker tag ubleipzig/vufind-httpd:vufind1 ubleipzig/vufind-httpd:vufind1-${tag}
docker push ubleipzig/vufind-httpd:vufind1-${tag}
done
tags:
- docker
......
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