This commit is contained in:
Vendored
+6
-3
@@ -1,9 +1,12 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
tools {
|
agent {
|
||||||
dockerTool 'Docker'
|
docker {
|
||||||
}
|
image 'node:16-alpine' // 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