Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UPF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UPF
Commits
86e21f2c
Commit
86e21f2c
authored
Apr 28, 2022
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ci): changing the Docker Hub account to push to
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
fab87fc2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
ci-scripts/Jenkinsfile-GitLab-Docker
ci-scripts/Jenkinsfile-GitLab-Docker
+6
-3
No files found.
ci-scripts/Jenkinsfile-GitLab-Docker
View file @
86e21f2c
...
...
@@ -51,6 +51,9 @@ def VPP_UPF_RHEL7_BASE_IMAGE_TAG = params.UpfRhel7BaseImageTag
// Merge Request Link
def
gitlabMergeRequestLink
// Docker Hub account to push to
def
DH_Account
=
"oaisoftwarealliance"
//-------------------------------------------------------------------------------
// Pipeline start
pipeline
{
...
...
@@ -377,9 +380,9 @@ pipeline {
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.DockerHubCredentials}"
,
usernameVariable:
'DH_Username'
,
passwordVariable:
'DH_Password'
]
])
{
myShCmd
(
"echo ${DH_Password} | docker login --username ${DH_Username} --password-stdin"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker image tag oai-upf-vpp:develop ${DH_
Username
}/oai-upf-vpp:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker push ${DH_
Username
}/oai-upf-vpp:develop > archives/docker-push.log 2>&1"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker rmi ${DH_
Username
}/oai-upf-vpp:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker image tag oai-upf-vpp:develop ${DH_
Account
}/oai-upf-vpp:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker push ${DH_
Account
}/oai-upf-vpp:develop > archives/docker-push.log 2>&1"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker rmi ${DH_
Account
}/oai-upf-vpp:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker logout"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
}
}
...
...
Write
Preview
Markdown
is supported
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