Skip to content

Commit a1ac6b8

Browse files
committed
chore(woodpecker): use new plugin-release
1 parent a30f769 commit a1ac6b8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.woodpecker/build-binary.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,19 @@ steps:
2828
image: bash
2929
commands:
3030
- podman run --rm
31-
-e DRONE_BUILD_EVENT=tag
32-
-e DRONE_REPO_OWNER="$CI_REPO_OWNER"
33-
-e DRONE_REPO_NAME="$CI_REPO_NAME"
31+
-e CI_FORGE_TYPE=github
32+
-e CI_PIPELINE_EVENT=tag
33+
-e CI_REPO_OWNER="$CI_REPO_OWNER"
34+
-e CI_REPO_NAME="$CI_REPO_NAME"
35+
-e CI_COMMIT_REF="refs/tags/$CI_COMMIT_TAG"
3436
-e PLUGIN_API_KEY="$GITHUB_TOKEN"
3537
-e PLUGIN_BASE_URL="https://api.github.com/"
3638
-e PLUGIN_UPLOAD_URL="https://uploads.github.com/"
37-
-e DRONE_COMMIT_REF="refs/tags/$CI_COMMIT_TAG"
3839
-e PLUGIN_OVERWRITE="true"
3940
-e PLUGIN_FILES="_dist/*"
4041
-v $(pwd):$(pwd)
4142
-w $(pwd)
42-
docker.io/plugins/github-release
43+
docker.io/woodpeckerci/plugin-release
4344
environment:
4445
GITHUB_TOKEN:
4546
from_secret: github_token

0 commit comments

Comments
 (0)