test
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user