Remove kaniko plugin and refs (#5371)

Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
This commit is contained in:
qwerty287 2025-07-30 11:46:55 +03:00 committed by GitHub
parent bfab0f1d49
commit b392d8174c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 21 deletions

View file

@ -103,9 +103,8 @@ When using the `local` backend, the `image` entry is used to specify the shell,
- go build
- go test
- name: publish
+ image: woodpeckerci/plugin-kaniko
repo: foo/bar
- name: prettier
+ image: woodpeckerci/plugin-prettier
services:
- name: database
@ -473,9 +472,11 @@ Normally steps of a workflow are executed serially in the order in which they ar
- go build
- name: deploy
image: woodpeckerci/plugin-kaniko
image: woodpeckerci/plugin-s3
settings:
repo: foo/bar
bucket: my-bucket-name
source: some-file-name
target: /target/some-file
+ depends_on: [build, test] # deploy will be executed after build and test finished
- name: test # test will be executed immediately as no dependencies are set

View file

@ -170,20 +170,20 @@ Example commit substitution:
```diff
steps:
- name: docker
image: woodpeckerci/plugin-kaniko
- name: s3
image: woodpeckerci/plugin-s3
settings:
+ tags: ${CI_COMMIT_SHA}
+ target: /target/${CI_COMMIT_SHA}
```
Example tag substitution:
```diff
steps:
- name: docker
image: woodpeckerci/plugin-kaniko
- name: s3
image: woodpeckerci/plugin-s3
settings:
+ tags: ${CI_COMMIT_TAG}
+ target: /target/${CI_COMMIT_TAG}
```
## String Operations
@ -208,18 +208,18 @@ Example variable substitution with substring:
```diff
steps:
- name: docker
image: woodpeckerci/plugin-kaniko
- name: s3
image: woodpeckerci/plugin-s3
settings:
+ tags: ${CI_COMMIT_SHA:0:8}
+ target: /target/${CI_COMMIT_SHA:0:8}
```
Example variable substitution strips `v` prefix from `v.1.0.0`:
```diff
steps:
- name: docker
image: woodpeckerci/plugin-kaniko
- name: s3
image: woodpeckerci/plugin-s3
settings:
+ tags: ${CI_COMMIT_TAG##v}
+ target: /target/${CI_COMMIT_TAG##v}
```

View file

@ -23,7 +23,7 @@ steps:
template: config/k8s/service.yaml
```
Example pipeline using the Docker and Prettier plugins:
Example pipeline using the Prettier and S3 plugins:
```yaml
steps:
@ -37,10 +37,11 @@ steps:
image: woodpeckerci/plugin-prettier
- name: publish
image: woodpeckerci/plugin-kaniko
image: woodpeckerci/plugin-s3
settings:
repo: foo/bar
tags: latest
bucket: my-bucket-name
source: some-file-name
target: /target/some-file
```
## Plugin Isolation