automated terminal push

This commit is contained in:
lenape
2025-06-22 03:27:10 +00:00
parent cf4b854cf0
commit 8fc5c41e85

8
Jenkinsfile vendored
View File

@@ -14,10 +14,10 @@ pipeline {
} }
stage('Build Docker Image') { stage('Build Docker Image') {
steps { steps {
script { sh '''
// Build the .NET 8 Minimal API image with a build number tag and latest docker build -t skennen:${BUILD_NUMBER} \
docker.build("skennen:${env.BUILD_NUMBER}", '-f dotnet8-minimal-api/Dockerfile dotnet8-minimal-api') -f dotnet8-minimal-api/Dockerfile dotnet8-minimal-api
} '''
} }
} }
stage('Tag & Push to ACR') { stage('Tag & Push to ACR') {