This commit is contained in:
2025-08-04 23:59:24 +09:00
parent 3849fa276a
commit 2812ceeda0

View File

@ -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