ci: add woodpecker.yml for registry build and push
This commit is contained in:
parent
72d44bbd63
commit
cb31f98822
1 changed files with 24 additions and 0 deletions
24
.woodpecker.yml
Normal file
24
.woodpecker.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
when:
|
||||||
|
branch: [main, high-performance]
|
||||||
|
event: push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-and-push
|
||||||
|
image: woodpeckerci/plugin-kaniko:2.1.1
|
||||||
|
settings:
|
||||||
|
registry: registry.nxtgauge.com
|
||||||
|
repo: nxtgauge-ai-assistant
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
tags:
|
||||||
|
- ${CI_COMMIT_SHA}
|
||||||
|
- latest
|
||||||
|
- high-performance-latest
|
||||||
|
username:
|
||||||
|
from_secret: REGISTRY_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: REGISTRY_PASSWORD
|
||||||
|
insecure: true
|
||||||
|
insecure_pull: true
|
||||||
|
skip_tls_verify: true
|
||||||
|
platforms: linux/amd64
|
||||||
|
cache: false
|
||||||
Loading…
Add table
Reference in a new issue