chore: changed Jenkins agent base image
Gitea/docker-base-images/jdk14-alpine/pipeline/head There was a failure building this commit
Details
Gitea/docker-base-images/jdk14-alpine/pipeline/head There was a failure building this commit
Details
parent
3d4671a11f
commit
6fcf35a07f
|
@ -13,7 +13,7 @@ def resolveImageName(env) {
|
|||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'alpine/git:2.36.3'
|
||||
image 'alpine:3.17.3'
|
||||
// Mount docker socket for docker-in-docker
|
||||
args '-v /var/run/docker.sock:/var/run/docker.sock'
|
||||
}
|
||||
|
@ -21,6 +21,7 @@ pipeline {
|
|||
stages {
|
||||
stage('prepare') {
|
||||
steps {
|
||||
sh "apk update && apk add --no-cache git"
|
||||
// Try to get tag name from git repo if it empty. By default this env fills only at tag builds in Jenkins
|
||||
script {
|
||||
if (env.TAG_NAME == null) {
|
||||
|
|
Loading…
Reference in New Issue