update wiki
This commit is contained in:
parent
39aca1444e
commit
e46ded590b
25
docs/wiki.md
25
docs/wiki.md
@ -90,5 +90,30 @@ jobs:
|
|||||||
### github-token
|
### github-token
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
|
env:
|
||||||
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.APP_TOKEN }}
|
||||||
|
REGISTRY: ghcr.io
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: Release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: archlinux
|
||||||
|
options: --privileged
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Log in to the Container registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{ env.REGISTRY }}
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ env.GITHUB_TOKEN }}
|
||||||
|
- name: github container registry
|
||||||
|
run: |
|
||||||
|
docker tag ${{ env.IMAGE_NAME }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user