test
This commit is contained in:
@ -68,19 +68,20 @@ spec:
|
|||||||
# echo "[ERROR] Docker config 파일(.dockerconfigjson) 없음"
|
# echo "[ERROR] Docker config 파일(.dockerconfigjson) 없음"
|
||||||
# fi
|
# fi
|
||||||
# 3. Debugging - Check mounted secret before build
|
# 3. Debugging - Check mounted secret before build
|
||||||
- name: debug-sleep
|
# - name: debug-sleep
|
||||||
image: alpine
|
# image: alpine
|
||||||
script: |
|
# script: |
|
||||||
#!/bin/sh
|
# #!/bin/sh
|
||||||
echo "==== [DEBUG] Pod에 접속 가능 상태로 대기 중... ===="
|
# echo "==== [DEBUG] Pod에 접속 가능 상태로 대기 중... ===="
|
||||||
sleep 180
|
# sleep 180
|
||||||
|
|
||||||
# 4. Kaniko Build & Push
|
# 4. Kaniko Build & Push
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: gcr.io/kaniko-project/executor:latest
|
image: gcr.io/kaniko-project/executor:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: harbor-dockerconfig
|
- name: harbor-dockerconfig
|
||||||
mountPath: /kaniko/.docker
|
mountPath: /kaniko/.docker/config.json
|
||||||
|
subPath: .dockerconfigjson
|
||||||
readOnly: true
|
readOnly: true
|
||||||
# env:
|
# env:
|
||||||
# - name: DOCKER_CONFIG
|
# - name: DOCKER_CONFIG
|
||||||
|
|||||||
Reference in New Issue
Block a user