24 lines
578 B
YAML
24 lines
578 B
YAML
steps:
|
|
docker:
|
|
image: woodpeckerci/plugin-kaniko
|
|
settings:
|
|
registry: registry.threesix.ai
|
|
repo: "foundary-1770644471"
|
|
tags:
|
|
- latest
|
|
- ${CI_COMMIT_SHA:0:8}
|
|
cache: true
|
|
skip-tls-verify: true
|
|
failure: ignore
|
|
when:
|
|
- event: push
|
|
branch: main
|
|
|
|
deploy:
|
|
image: bitnami/kubectl:latest
|
|
commands:
|
|
- kubectl set image deployment/foundary-1770644471 foundary-1770644471=registry.threesix.ai/foundary-1770644471:${CI_COMMIT_SHA:0:8} -n projects
|
|
when:
|
|
- event: push
|
|
branch: main
|