From 2812ceeda03d38a4123fa1c55b6a5ecbba9da625 Mon Sep 17 00:00:00 2001 From: icurfer Date: Mon, 4 Aug 2025 23:59:24 +0900 Subject: [PATCH] test --- sample-build/02-task-build.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sample-build/02-task-build.yaml b/sample-build/02-task-build.yaml index 826156e..45a8c34 100644 --- a/sample-build/02-task-build.yaml +++ b/sample-build/02-task-build.yaml @@ -68,19 +68,20 @@ spec: # echo "[ERROR] Docker config 파일(.dockerconfigjson) 없음" # fi # 3. Debugging - Check mounted secret before build - - name: debug-sleep - image: alpine - script: | - #!/bin/sh - echo "==== [DEBUG] Pod에 접속 가능 상태로 대기 중... ====" - sleep 180 + # - name: debug-sleep + # image: alpine + # script: | + # #!/bin/sh + # echo "==== [DEBUG] Pod에 접속 가능 상태로 대기 중... ====" + # sleep 180 # 4. Kaniko Build & Push - name: build-and-push image: gcr.io/kaniko-project/executor:latest volumeMounts: - name: harbor-dockerconfig - mountPath: /kaniko/.docker + mountPath: /kaniko/.docker/config.json + subPath: .dockerconfigjson readOnly: true # env: # - name: DOCKER_CONFIG