-
Notifications
You must be signed in to change notification settings - Fork 422
Open
Description
Hello
I am trying to build docker image using base built-in podTemplate.
At the end of the Dockerfile I need to specify secret file (in jenkins docker build --secret), but the --secret flag not recognized. For that I need newer version of docker.
When I am checking docker version, it gives me 3.0.1
But as I looked in documentations, base image must have 18.06.0 version.
This is simple Jenkinsfile that I am using to check the docker version
pipeline {
agent {
label 'base'
}
stages {
stage('Build Docker Image') {
steps{
container ('base') {
sh 'docker --version'
}
}
}
}
}
Am I missing something? Or maybe there is issue with podTemplate?
Environment:
1 Control Plane and 2 worker nodes
Kubernetes Version: 1.29
Kubesphere Version: 3.4.1
Metadata
Metadata
Assignees
Labels
No labels
