build: removing the push line and using arg..
This commit is contained in:
parent
d939e4dd52
commit
c4b4463787
1 changed files with 1 additions and 2 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
|
@ -30,8 +30,7 @@ pipeline {
|
|||
// Get into the desec-ip-sync directory
|
||||
dir('./server/desec-ip-sync/') {
|
||||
sh '''
|
||||
docker buildx build -t "$REGISTRY"/"$PROJECT_OWNER"/"$PROJECT_NAME":"$SCRIPT_NAME" .
|
||||
docker push "$REGISTRY"/"$PROJECT_OWNER"/"$PROJECT_NAME":"$SCRIPT_NAME"
|
||||
docker buildx build -t "$REGISTRY"/"$PROJECT_OWNER"/"$PROJECT_NAME":"$SCRIPT_NAME" --push .
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue