diff --git a/docs/docs/20-usage/20-workflow-syntax.md b/docs/docs/20-usage/20-workflow-syntax.md index 204980c2a..22de53e7d 100644 --- a/docs/docs/20-usage/20-workflow-syntax.md +++ b/docs/docs/20-usage/20-workflow-syntax.md @@ -104,7 +104,7 @@ When using the `local` backend, the `image` entry is used to specify the shell, - go test - name: publish -+ image: woodpeckerci/plugin-docker-buildx ++ image: woodpeckerci/plugin-kaniko repo: foo/bar services: @@ -484,7 +484,7 @@ Normally steps of a workflow are executed serially in the order in which they ar - go build - name: deploy - image: woodpeckerci/plugin-docker-buildx + image: woodpeckerci/plugin-kaniko settings: repo: foo/bar + depends_on: [build, test] # deploy will be executed after build and test finished diff --git a/docs/docs/20-usage/50-environment.md b/docs/docs/20-usage/50-environment.md index 5766faac7..09a7ddd7d 100644 --- a/docs/docs/20-usage/50-environment.md +++ b/docs/docs/20-usage/50-environment.md @@ -172,7 +172,7 @@ Example commit substitution: ```diff steps: - name: docker - image: woodpeckerci/plugin-docker-buildx + image: woodpeckerci/plugin-kaniko settings: + tags: ${CI_COMMIT_SHA} ``` @@ -182,7 +182,7 @@ Example tag substitution: ```diff steps: - name: docker - image: woodpeckerci/plugin-docker-buildx + image: woodpeckerci/plugin-kaniko settings: + tags: ${CI_COMMIT_TAG} ``` @@ -210,7 +210,7 @@ Example variable substitution with substring: ```diff steps: - name: docker - image: woodpeckerci/plugin-docker-buildx + image: woodpeckerci/plugin-kaniko settings: + tags: ${CI_COMMIT_SHA:0:8} ``` @@ -220,7 +220,7 @@ Example variable substitution strips `v` prefix from `v.1.0.0`: ```diff steps: - name: docker - image: woodpeckerci/plugin-docker-buildx + image: woodpeckerci/plugin-kaniko settings: + tags: ${CI_COMMIT_TAG##v} ``` diff --git a/docs/docs/20-usage/51-plugins/51-overview.md b/docs/docs/20-usage/51-plugins/51-overview.md index 2ac5e2e49..1599b8cca 100644 --- a/docs/docs/20-usage/51-plugins/51-overview.md +++ b/docs/docs/20-usage/51-plugins/51-overview.md @@ -34,7 +34,7 @@ steps: - go test - name: publish - image: woodpeckerci/plugin-docker-buildx + image: woodpeckerci/plugin-kaniko settings: repo: foo/bar tags: latest diff --git a/pipeline/frontend/yaml/linter/linter_test.go b/pipeline/frontend/yaml/linter/linter_test.go index deff4ca44..f21b33de5 100644 --- a/pipeline/frontend/yaml/linter/linter_test.go +++ b/pipeline/frontend/yaml/linter/linter_test.go @@ -39,7 +39,7 @@ steps: - go build - go test publish: - image: woodpeckerci/plugin-docker-buildx + image: woodpeckerci/plugin-kaniko settings: repo: foo/bar foo: bar @@ -61,7 +61,7 @@ steps: - go build - go test - name: publish - image: woodpeckerci/plugin-docker-buildx + image: woodpeckerci/plugin-kaniko settings: repo: foo/bar foo: bar diff --git a/pipeline/frontend/yaml/utils/image_test.go b/pipeline/frontend/yaml/utils/image_test.go index 7b79f669b..a1250a49d 100644 --- a/pipeline/frontend/yaml/utils/image_test.go +++ b/pipeline/frontend/yaml/utils/image_test.go @@ -255,8 +255,8 @@ func Test_matchImage(t *testing.T) { want: false, }, { - from: "woodpeckerci/plugin-docker-buildx", - to: "docker.io/woodpeckerci/plugin-docker-buildx", + from: "woodpeckerci/plugin-kaniko", + to: "docker.io/woodpeckerci/plugin-kaniko", want: true, }, }