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
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 build
- go test - go test
- name: publish - name: prettier
+ image: woodpeckerci/plugin-kaniko + image: woodpeckerci/plugin-prettier
repo: foo/bar
services: services:
- name: database - name: database
@@ -473,9 +472,11 @@ Normally steps of a workflow are executed serially in the order in which they ar
- go build - go build
- name: deploy - name: deploy
image: woodpeckerci/plugin-kaniko image: woodpeckerci/plugin-s3
settings: 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 + 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 - name: test # test will be executed immediately as no dependencies are set

View File

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

View File

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