This commit is contained in:
Vendored
+1
-6
@@ -1,10 +1,5 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent any
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
REGISTRY = "docker-registry.service.consul"
|
REGISTRY = "docker-registry.service.consul"
|
||||||
|
|||||||
Reference in New Issue
Block a user