use kaniko commands for debugging
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-02-14 19:21:31 +00:00
parent 869a4fe53f
commit 3c1ace0d16

View File

@@ -5,16 +5,20 @@ when:
steps: steps:
- name: build-and-push - name: build-and-push
image: woodpeckerci/plugin-kaniko image: woodpeckerci/plugin-kaniko
settings: environment:
registry: git.mikhailkilin.ru DOCKER_USERNAME:
repo: killingdruid/bcard
tags: "${CI_COMMIT_SHA:0:8},latest"
username:
from_secret: docker_username from_secret: docker_username
password: DOCKER_PASSWORD:
from_secret: docker_password from_secret: docker_password
insecure: true commands:
skip_tls_verify: true - 'TAG=${CI_COMMIT_SHA:0:8}'
- 'REGISTRY=git.mikhailkilin.ru'
- 'REPO=killingdruid/bcard'
- 'echo "Building $REGISTRY/$REPO:$TAG"'
- 'AUTH=$(echo -n "$DOCKER_USERNAME:$DOCKER_PASSWORD" | base64)'
- 'mkdir -p /kaniko/.docker'
- 'echo "{\"auths\":{\"$REGISTRY\":{\"auth\":\"$AUTH\"}}}" > /kaniko/.docker/config.json'
- '/kaniko/executor --context=$CI_WORKSPACE --dockerfile=Dockerfile --destination=$REGISTRY/$REPO:$TAG --destination=$REGISTRY/$REPO:latest --insecure --skip-tls-verify -v info'
- name: update-manifests - name: update-manifests
image: alpine image: alpine