Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ubl
bdd_dev
docker-vufind
Commits
eedb8e1c
Commit
eedb8e1c
authored
Apr 05, 2018
by
Ulf Seltmann
Browse files
debug
parent
25a45000
Pipeline
#189
failed with stages
in 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
eedb8e1c
...
...
@@ -9,15 +9,16 @@ httpd_image:
-
docker:dind
script
:
|
mkdir -p ~/.docker && echo "$DOCKER_AUTH_CONFIG" >~/.docker/config.json
export tag=`expr $CI_COMMIT_TAG ':' 'httpd/\(.*\)'`
docker build --pull -t services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:latest -f dockerfiles/Dockerfile.httpd .
docker tag services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:latest services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:$tag
docker push services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:$tag
docker push services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:latest
export suffix=`expr $CI_COMMIT_TAG ':' 'httpd/\2.4-(.*\)'`
docker build --pull -t services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:2.4-${suffix} -f dockerfiles/Dockerfile.httpd:2.4 .
for tag in "latest" "2.4"; do
docker tag services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:2.4-${suffix} services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:${tag}
docker push services.ub.uni-leipzig.de:11443/bdd_dev/vufind/httpd:${tag}
done
tags
:
-
docker
only
:
-
/^httpd\//
-
/^httpd\/
2.4
/
except
:
-
branches
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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