ci: use woodpecker kaniko plugin instead of direct executor
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f6a2b61b16
commit
60f98f3c18
@ -2,7 +2,6 @@
|
||||
# Builds and deploys rdev-api, rdev-worker, and rdev-claudebox
|
||||
|
||||
variables:
|
||||
- ®istry "registry.threesix.ai"
|
||||
- &when_main
|
||||
branch: main
|
||||
event: push
|
||||
@ -17,43 +16,49 @@ steps:
|
||||
|
||||
# Build rdev-api image
|
||||
build-api:
|
||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
commands:
|
||||
- /kaniko/executor
|
||||
--context=/woodpecker/src
|
||||
--dockerfile=Dockerfile.api
|
||||
--destination=registry.threesix.ai/rdev/api:${CI_COMMIT_SHA:0:8}
|
||||
--destination=registry.threesix.ai/rdev/api:latest
|
||||
--cache=true
|
||||
--skip-tls-verify
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
settings:
|
||||
registry: registry.threesix.ai
|
||||
repo: rdev/api
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT_SHA:0:8}
|
||||
context: .
|
||||
dockerfile: Dockerfile.api
|
||||
cache: true
|
||||
skip_tls_verify: true
|
||||
when:
|
||||
<<: *when_main
|
||||
|
||||
# Build rdev-worker image
|
||||
build-worker:
|
||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
commands:
|
||||
- /kaniko/executor
|
||||
--context=/woodpecker/src
|
||||
--dockerfile=Dockerfile.worker
|
||||
--destination=registry.threesix.ai/rdev/worker:${CI_COMMIT_SHA:0:8}
|
||||
--destination=registry.threesix.ai/rdev/worker:latest
|
||||
--cache=true
|
||||
--skip-tls-verify
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
settings:
|
||||
registry: registry.threesix.ai
|
||||
repo: rdev/worker
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT_SHA:0:8}
|
||||
context: .
|
||||
dockerfile: Dockerfile.worker
|
||||
cache: true
|
||||
skip_tls_verify: true
|
||||
when:
|
||||
<<: *when_main
|
||||
|
||||
# Build rdev-claudebox image
|
||||
build-claudebox:
|
||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
commands:
|
||||
- /kaniko/executor
|
||||
--context=/woodpecker/src
|
||||
--dockerfile=Dockerfile
|
||||
--destination=registry.threesix.ai/rdev/claudebox:${CI_COMMIT_SHA:0:8}
|
||||
--destination=registry.threesix.ai/rdev/claudebox:latest
|
||||
--cache=true
|
||||
--skip-tls-verify
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
settings:
|
||||
registry: registry.threesix.ai
|
||||
repo: rdev/claudebox
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT_SHA:0:8}
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
cache: true
|
||||
skip_tls_verify: true
|
||||
when:
|
||||
<<: *when_main
|
||||
|
||||
@ -72,4 +77,3 @@ steps:
|
||||
- kubectl rollout status statefulset/claudebox -n rdev --timeout=300s
|
||||
when:
|
||||
<<: *when_main
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user