mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 05:32:02 +08:00
Fix link in README.md and fix CI permission (#299)
This commit is contained in:
parent
0d4856c4b1
commit
d67601af66
5
.github/workflows/CI.yaml
vendored
5
.github/workflows/CI.yaml
vendored
@ -31,6 +31,8 @@ jobs:
|
|||||||
image-test:
|
image-test:
|
||||||
name: Check for image build and CVE
|
name: Check for image build and CVE
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -77,11 +79,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "${{ steps.trivy.outputs.stdout }}"
|
echo "${{ steps.trivy.outputs.stdout }}"
|
||||||
|
|
||||||
- name: Comment PR
|
- name: Comment PR for CVE
|
||||||
uses: thollander/actions-comment-pull-request@v2
|
uses: thollander/actions-comment-pull-request@v2
|
||||||
with:
|
with:
|
||||||
message: |
|
message: |
|
||||||
```
|
```
|
||||||
${{ steps.trivy.outputs.stdout }}
|
${{ steps.trivy.outputs.stdout }}
|
||||||
```
|
```
|
||||||
|
comment_tag: cve
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -62,7 +62,7 @@ Now the server should be running on `127.0.0.1:3333`, visiting `http://127.0.0.1
|
|||||||
|
|
||||||
## Custom config
|
## Custom config
|
||||||
|
|
||||||
If you'd like to use a customized `config.json`, you can follow the steps in [Basic Usage](https://docs.webp.sh/usage/basic-usage/) to genereate one, and mount it into the container's `/etc/config.json`, example `docker-compose.yml` as follows:
|
If you'd like to use a customized `config.json`, you can follow the steps in [Configuration](https://docs.webp.sh/usage/configuration/) to genereate one, and mount it into the container's `/etc/config.json`, example `docker-compose.yml` as follows:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: '3'
|
version: '3'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user