From 8797238c4d552047e76da96e1b7882ba946607d4 Mon Sep 17 00:00:00 2001 From: Yuri Tatishchev Date: Wed, 23 Apr 2025 17:08:20 -0700 Subject: [PATCH] ci: finalize woodpecker pipeline --- .woodpecker/build-image.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.woodpecker/build-image.yml b/.woodpecker/build-image.yml index f5f9e6b..9ada5dc 100644 --- a/.woodpecker/build-image.yml +++ b/.woodpecker/build-image.yml @@ -1,33 +1,15 @@ 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/\\//-} - - echo $USERNAME:$PASSWORD - environment: - USERNAME: - from_secret: registry-username - PASSWORD: - from_secret: registry-password - name: build image: woodpeckerci/plugin-kaniko settings: registry: gitea.cazzzer.com repo: ${CI_REPO,,} -# tags: ci - - # tags: ${CI_COMMIT_BRANCH//[^a-zA-Z0-9._-]/-} + # replace invalid characters in branch name + tags: ${CI_COMMIT_BRANCH/\//-} + cache: true username: from_secret: registry-username password: from_secret: registry-password - # replace invalid characters in branch name - tags: ${CI_COMMIT_BRANCH/\//-} - # auto_tag: true - cache: true