From 0b6c08513195662e1172d777b89a4da7b9b0cbd8 Mon Sep 17 00:00:00 2001 From: 30hours Date: Fri, 16 Feb 2024 00:38:08 +0000 Subject: [PATCH] Forgot 1 layer of script in Jenkins --- Jenkinsfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 80c00e6..d9004e5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,13 +29,14 @@ pipeline { } stage('Push') { steps { - echo 'Pushing the application' + script { + echo 'Pushing the application' - docker.withRegistry("${GHCR_REGISTRY}", "${GHCR_TOKEN}") { - blah2.push() - blah2_api.push() + docker.withRegistry("${GHCR_REGISTRY}", "${GHCR_TOKEN}") { + blah2.push() + blah2_api.push() + } } - } } }