build jenkins
Briq/privoxy_whitelist/pipeline/head This commit looks good

This commit is contained in:
2022-02-01 14:17:34 +01:00
parent 30f4cbd113
commit 2cdda2f6c2
2 changed files with 17 additions and 1 deletions
Vendored
+16
View File
@@ -0,0 +1,16 @@
node {
stage('Checkout') {
checkout scm
}
stage('Build docker') {
customImage = docker.build("public/privoxy_whitelist:${env.BUILD_ID}")
}
stage('Push to registry') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
docker.withRegistry('https://docker.briq.it', 'briq-docker-cred') {
customImage.push("${env.BRANCH_NAME}")
}
}
}
}
+1 -1
View File
@@ -6,5 +6,5 @@ Privoxy listens to 8118. add whitelisted sites with the ~ prefix to the command
Sample command
```bash
docker run -d -p 8118:8118 docker.briq.it/privoxy_whitelist ~ci.briq.it
docker run -d -p 8118:8118 docker.briq.it/public/privoxy_whitelist ~ci.briq.it
```