From 1a5dfa55faff39a202f1dfd8bb18fd8033bf677b Mon Sep 17 00:00:00 2001 From: Davi Silva Rafacho Date: Thu, 12 Dec 2024 20:41:12 -0300 Subject: [PATCH] ci: push docker image --- Jenkinsfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9b3ea33..2085c57 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,14 +11,8 @@ pipeline { } stage ('Push Image') { - steps { - script { - docker.withRegistry("https://registry.hub.docker.com", 'dockerhub') { - dockerapp.push('latest') - dockerapp.push("${env.BUILD_ID}") - } - } - } + dockerapp.push('latest') + dockerapp.push("${env.BUILD_ID}") } } }