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>
This commit is contained in:
parent
e1d84f3398
commit
ee2c0d6482
@ -16,9 +16,11 @@ steps:
|
|||||||
docker:
|
docker:
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
settings:
|
settings:
|
||||||
destinations:
|
registry: registry.threesix.ai
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:latest
|
repo: "{{PROJECT_NAME}}"
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:${CI_COMMIT_SHA:0:8}
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
cache: true
|
cache: true
|
||||||
skip-tls-verify: true
|
skip-tls-verify: true
|
||||||
when:
|
when:
|
||||||
|
|||||||
@ -2,9 +2,11 @@ steps:
|
|||||||
docker:
|
docker:
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
settings:
|
settings:
|
||||||
destinations:
|
registry: registry.threesix.ai
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:latest
|
repo: "{{PROJECT_NAME}}"
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:${CI_COMMIT_SHA:0:8}
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
cache: true
|
cache: true
|
||||||
skip-tls-verify: true
|
skip-tls-verify: true
|
||||||
when:
|
when:
|
||||||
|
|||||||
@ -16,9 +16,11 @@ steps:
|
|||||||
docker:
|
docker:
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
settings:
|
settings:
|
||||||
destinations:
|
registry: registry.threesix.ai
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:latest
|
repo: "{{PROJECT_NAME}}"
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:${CI_COMMIT_SHA:0:8}
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
cache: true
|
cache: true
|
||||||
skip-tls-verify: true
|
skip-tls-verify: true
|
||||||
when:
|
when:
|
||||||
|
|||||||
@ -16,9 +16,11 @@ steps:
|
|||||||
docker:
|
docker:
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
settings:
|
settings:
|
||||||
destinations:
|
registry: registry.threesix.ai
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:latest
|
repo: "{{PROJECT_NAME}}"
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:${CI_COMMIT_SHA:0:8}
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
cache: true
|
cache: true
|
||||||
skip-tls-verify: true
|
skip-tls-verify: true
|
||||||
when:
|
when:
|
||||||
|
|||||||
@ -2,9 +2,11 @@ steps:
|
|||||||
docker:
|
docker:
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
settings:
|
settings:
|
||||||
destinations:
|
registry: registry.threesix.ai
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:latest
|
repo: "{{PROJECT_NAME}}"
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:${CI_COMMIT_SHA:0:8}
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
cache: true
|
cache: true
|
||||||
skip-tls-verify: true
|
skip-tls-verify: true
|
||||||
when:
|
when:
|
||||||
|
|||||||
@ -16,9 +16,11 @@ steps:
|
|||||||
docker:
|
docker:
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
settings:
|
settings:
|
||||||
destinations:
|
registry: registry.threesix.ai
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:latest
|
repo: "{{PROJECT_NAME}}"
|
||||||
- registry.threesix.ai/{{PROJECT_NAME}}:${CI_COMMIT_SHA:0:8}
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
cache: true
|
cache: true
|
||||||
skip-tls-verify: true
|
skip-tls-verify: true
|
||||||
when:
|
when:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user