try this
Gitea/homepage/pipeline/head There was a failure building this commit

This commit is contained in:
Georgios Jason Efstathiou
2024-12-22 20:27:37 +01:00
parent 1dfc26ef79
commit c3530c8b81
Vendored
+6 -3
View File
@@ -1,9 +1,12 @@
pipeline {
agent any
tools {
dockerTool 'Docker'
}
agent {
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 {
REGISTRY = "docker-registry.service.consul"