rdev/deployments/k8s/base/templates/default/.woodpecker.yml
jordan ee2c0d6482 fix: Use repo/tags format for Kaniko plugin (not destinations)
The destinations format caused Kaniko to push images with the full
registry URL as part of the repo path (registry.threesix.ai/name
instead of just name). Using registry + repo + tags format pushes
to the correct path.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 01:07:49 -07:00

23 lines
546 B
YAML

steps:
docker:
image: woodpeckerci/plugin-kaniko
settings:
registry: registry.threesix.ai
repo: "{{PROJECT_NAME}}"
tags:
- latest
- ${CI_COMMIT_SHA:0:8}
cache: true
skip-tls-verify: true
when:
- event: push
branch: main
deploy:
image: bitnami/kubectl:latest
commands:
- kubectl set image deployment/{{PROJECT_NAME}} {{PROJECT_NAME}}=registry.threesix.ai/{{PROJECT_NAME}}:${CI_COMMIT_SHA:0:8} -n projects
when:
- event: push
branch: main