diff --git a/Jenkinsfile b/Jenkinsfile index 59abc24..1663efd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,7 +34,7 @@ pipeline { } } stage('Build') { - agent 'main' + agent label 'main' steps { script { DOCKER_IMAGE = docker.build("${DOCKER_IMAGE_NAME}") @@ -42,7 +42,7 @@ pipeline { } } stage('Publish') { - agent 'main' + agent label 'main' steps { script { docker.withRegistry("", "digital-ocean-ailuridae-registry") {