add woodpecker ci
Some checks failed
ci/woodpecker/push/build-image Pipeline failed

This commit is contained in:
Yuri Tatishchev 2025-01-03 20:07:17 -08:00
parent d99ee9ef1e
commit a549b7fb4c
Signed by: CaZzzer
GPG Key ID: E0EBF441EA424369

View File

@ -0,0 +1,26 @@
when:
- event: [push]
steps:
# - name: echos
# image: alpine
# commands:
# - echo $CI_REPO
# - echo $CI_REPO_REMOTE_ID
# - echo $CI_REPO_URL
# - echo $CI_REPO_CLONE_URL
# - echo $${CI_COMMIT_BRANCH/\\//-}
- name: build
image: woodpeckerci/plugin-kaniko
settings:
registry: gitea.cazzzer.com
username:
from_secret: registry-username
password:
from_secret: registry-password
repo: gitea.cazzzer.com/${CI_REPO}
# replace '/' with '_' in branch name
# remove 'feature/' prefix in branch name
# tags: ${CI_COMMIT_BRANCH##feature/}
# auto_tag: true
tags: ci
cache: true