This commit is contained in:
Vendored
+1
-6
@@ -1,10 +1,5 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'docker' // Use an image with Node.js and Docker installed
|
||||
args '-u root -v /var/run/docker.sock:/var/run/docker.sock' // Mount Docker socket
|
||||
}
|
||||
}
|
||||
agent any
|
||||
|
||||
environment {
|
||||
REGISTRY = "docker-registry.service.consul"
|
||||
|
||||
Reference in New Issue
Block a user