Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Sep 9, 2023
1 parent cc1fd82 commit adb13be
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches:
- master
paths:
- Dockerfile
- rootfs

jobs:
build:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/readme_update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Docker readme update

on:
workflow_dispatch:
push:
branches:
- master
paths:
- README.md

jobs:
job:
name: Docker Hub Description
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4

-
name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/wxchat
short-description: 微信转发代理
readme-filepath: ./README.md
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
# wxchat-Docker
# 微信转发代理 Docker

```bash
docker run -d \
--name wxchat \
--restart=always \
-p 80:80 \
ddsderek/wxchat:latest
```

```yaml
version: '3.3'
services:
wxchat:
container_name: wxchat
restart: always
ports:
- '80:80'
image: 'ddsderek/wxchat:latest'
```

0 comments on commit adb13be

Please sign in to comment.