Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AUSF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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-AUSF
Commits
27063c19
Commit
27063c19
authored
Apr 27, 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
30b2b809
Changes
1
Hide 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 @
27063c19
...
@@ -50,6 +50,9 @@ def AUSF_BASE_IMAGE_TAG = params.AusfBaseImageTag
...
@@ -50,6 +50,9 @@ def AUSF_BASE_IMAGE_TAG = params.AusfBaseImageTag
// Merge Request Link
// Merge Request Link
def
gitlabMergeRequestLink
def
gitlabMergeRequestLink
// Docker Hub account to push to
def
DH_Account
=
"oaisoftwarealliance"
//-------------------------------------------------------------------------------
//-------------------------------------------------------------------------------
// Pipeline start
// Pipeline start
pipeline
{
pipeline
{
...
@@ -458,9 +461,9 @@ pipeline {
...
@@ -458,9 +461,9 @@ pipeline {
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.DockerHubCredentials}"
,
usernameVariable:
'DH_Username'
,
passwordVariable:
'DH_Password'
]
[
$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
(
"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-ausf:develop ${DH_
Username
}/oai-ausf:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker image tag oai-ausf:develop ${DH_
Account
}/oai-ausf:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker push ${DH_
Username
}/oai-ausf:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker push ${DH_
Account
}/oai-ausf:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker rmi ${DH_
Username
}/oai-ausf:develop"
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
"docker rmi ${DH_
Account
}/oai-ausf: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
)
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