automated terminal push
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -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') {
|
||||
|
Reference in New Issue
Block a user