Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Commits
7eebb283
Commit
7eebb283
authored
1 year ago
by
Bastien Abadie
Browse files
Options
Downloads
Patches
Plain Diff
Publish docker images on docker.teklia.com too
parent
e3813d94
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2202
Publish docker images on docker.teklia.com too
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/build.sh
+9
-0
9 additions, 0 deletions
ci/build.sh
with
9 additions
and
0 deletions
ci/build.sh
+
9
−
0
View file @
7eebb283
...
...
@@ -45,3 +45,12 @@ docker build . -f $DOCKERFILE -t "$IMAGE_TAG"
if
[
-n
"
$CI_REGISTRY
"
]
;
then
docker push
"
$IMAGE_TAG
"
fi
# Also publish on Teklia repository
if
[
-n
"
$CI_COMMIT_TAG
"
-a
-n
"
$TEKLIA_REGISTRY
"
]
;
then
echo
"
$TEKLIA_PASSWORD
"
| docker login
-u
"
$TEKLIA_USERNAME
"
--password-stdin
"
$TEKLIA_REGISTRY
"
IMAGE_TAG_TEKLIA
=
"
$TEKLIA_REGISTRY
/
$CI_PROJECT_PATH
:
$VERSION
"
docker tag
"
$IMAGE_TAG
"
"
$IMAGE_TAG_TEKLIA
"
docker push
"
$IMAGE_TAG_TEKLIA
"
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment