Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martin Dinov
POD
Commits
fa2c4cc7
Commit
fa2c4cc7
authored
2 years ago
by
Muhammad Bilal
Browse files
Options
Download
Email Patches
Plain Diff
Update Jenkinsfile
parent
84d4da6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+6
-4
Jenkinsfile
with
6 additions
and
4 deletions
+6
-4
Jenkinsfile
+
6
-
4
View file @
fa2c4cc7
...
...
@@ -44,10 +44,12 @@ pipeline {
'''
}*/
steps
{
sh
'''
cat $HOME/.docker/config.json
//docker build -t dev .
'''
withCredentials
([
usernamePassword
(
credentialsId:
'docker-login'
,
usernameVariable:
'USERNAME'
,
passwordVariable:
'PASSWORD'
)])
{
sh
'''
docker login -u $USERNAME -p $PASSWORD registry.digitalocean.com
'''
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets