Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ubl
bdd_dev
docker
vufind-httpd
Commits
2764bf24
Commit
2764bf24
authored
Apr 17, 2018
by
Ulf Seltmann
Browse files
restructured gitlab-ci
parent
4a8fbdbd
Pipeline
#217
passed with stage
in 43 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2764bf24
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment