chore: changed agent base image to own alpine-base
All checks were successful
Gitea/docker-base-images/jdk14-alpine/pipeline/head This commit looks good
All checks were successful
Gitea/docker-base-images/jdk14-alpine/pipeline/head This commit looks good
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -9,7 +9,7 @@ def resolveImageName(env) {
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'alpine:3.17.3'
|
||||
image 'git.tswf.io/docker-base-images/alpine-base:1.0.0-3.17.3'
|
||||
// Mount docker socket for docker-in-docker
|
||||
args '-v /var/run/docker.sock:/var/run/docker.sock'
|
||||
}
|
||||
@@ -17,7 +17,6 @@ pipeline {
|
||||
stages {
|
||||
stage('prepare') {
|
||||
steps {
|
||||
sh "apk update && apk add --no-cache git docker-cli"
|
||||
script {
|
||||
env.IMAGE_BASE_NAME = "jdk14-alpine"
|
||||
env.RELEASE_TAG_PREFIX = "release-"
|
||||
|
||||
Reference in New Issue
Block a user