From b813878827fe5d45a3c13be7645c09cd93c307ce Mon Sep 17 00:00:00 2001 From: Yuri Tatishchev Date: Fri, 3 Jan 2025 20:07:17 -0800 Subject: [PATCH] add woodpecker ci --- .woodpecker/build-image.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .woodpecker/build-image.yml diff --git a/.woodpecker/build-image.yml b/.woodpecker/build-image.yml new file mode 100644 index 0000000..d0433af --- /dev/null +++ b/.woodpecker/build-image.yml @@ -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: https://gitea.cazzzer.com + username: + from_secret: registry-username + password: + from_secret: registry-password + repo: ${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