0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-22 00:00:41 +00:00

cleanup docs and examples

This commit is contained in:
Robert Kaussow 2024-03-12 20:43:39 +01:00
parent 6ddd3608aa
commit 9eeb0d8ac1
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -25,14 +25,11 @@ Only tag events are supported by this plugin. Running the plugin on other events
{{< /hint >}} {{< /hint >}}
```YAML ```YAML
kind: pipeline
name: default
steps: steps:
- name: publish - name: publish
image: quay.io/thegeeklab/wp-gitea-release image: quay.io/thegeeklab/wp-gitea-release
settings: settings:
api_key: 3LbMg9Kncpdkhjp3bh3dMnKNXLjVMTsXk4sM api_key: randomstring
base_url: https://gitea.rknet.org base_url: https://gitea.rknet.org
files: build/* files: build/*
``` ```
@ -64,7 +61,7 @@ docker build --file Containerfile.multiarch --tag thegeeklab/wp-gitea-release .
```Shell ```Shell
docker run --rm \ docker run --rm \
-e PLUGIN_BASE_URL=https://try.gitea.io \ -e PLUGIN_BASE_URL=https://try.gitea.io \
-e PLUGIN_API_KEY=your-api-key \ -e PLUGIN_API_KEY=randomstring \
-e PLUGIN_FILES=build/* \ -e PLUGIN_FILES=build/* \
-e CI_REPO_OWNER=gitea \ -e CI_REPO_OWNER=gitea \
-e CI_REPO_NAME=test \ -e CI_REPO_NAME=test \