From 8fc5c41e85368db3dabbf03d643ba0ab6cab1c10 Mon Sep 17 00:00:00 2001 From: lenape Date: Sun, 22 Jun 2025 03:27:10 +0000 Subject: [PATCH] automated terminal push --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1266643..0b2383a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,10 +14,10 @@ pipeline { } stage('Build Docker Image') { steps { - script { - // Build the .NET 8 Minimal API image with a build number tag and latest - docker.build("skennen:${env.BUILD_NUMBER}", '-f dotnet8-minimal-api/Dockerfile dotnet8-minimal-api') - } + sh ''' + docker build -t skennen:${BUILD_NUMBER} \ + -f dotnet8-minimal-api/Dockerfile dotnet8-minimal-api + ''' } } stage('Tag & Push to ACR') {