diff --git a/sample-build/02-task-build.yaml b/sample-build/02-task-build.yaml index f057c59..e98ba37 100644 --- a/sample-build/02-task-build.yaml +++ b/sample-build/02-task-build.yaml @@ -24,6 +24,16 @@ spec: cd /workspace/source git checkout $(params.git-revision) + # ✅ 디버깅 Step 추가 + - name: show-docker-config + image: alpine + script: | + #!/bin/sh + echo "==== [DEBUG] Docker config 파일 존재 여부 확인 ====" + ls -al /workspace/docker-config + echo "==== [DEBUG] Docker config.json 내용 출력 ====" + cat /workspace/docker-config/config.json || echo "config.json 없음" + - name: build-and-push image: gcr.io/kaniko-project/executor:latest env: @@ -33,4 +43,4 @@ spec: - --dockerfile=/workspace/source/Dockerfile - --context=/workspace/source - --destination=$(params.image-url) - - --insecure + - --insecure \ No newline at end of file