build jenkins
Briq/privoxy_whitelist/pipeline/head This commit looks good
Details
Briq/privoxy_whitelist/pipeline/head This commit looks good
Details
parent
30f4cbd113
commit
2cdda2f6c2
|
|
@ -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}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -6,5 +6,5 @@ Privoxy listens to 8118. add whitelisted sites with the ~ prefix to the command
|
||||||
|
|
||||||
Sample command
|
Sample command
|
||||||
```bash
|
```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
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue