debugging harbor auth: secret mount path tweaks

This commit is contained in:
victorc 2024-09-10 09:39:34 +00:00
parent 677bfa130e
commit c7eec55ae8

5
Jenkinsfile vendored
View File

@ -15,7 +15,8 @@ spec:
- 1d
volumeMounts:
- name: kaniko-secret
mountPath: /kaniko/.docker
mountPath: /kaniko/.docker/config.json
subpath: .dockerconfigjson
volumes:
- name: kaniko-secret
secret:
@ -27,7 +28,7 @@ spec:
stage('Build and Push Image with Kaniko') {
steps {
container('kaniko') {
sh 'ls -la /kaniko/.docker/'
sh 'cat /kaniko/.docker/config.json'
sh 'echo ---'
sh 'ls -la /kaniko/.docker/*'
sh 'echo ---'