File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - name : Checkout zh-hans. react.dev code
16+ - name : Checkout react.dev code
1717 uses : actions/checkout@v4
1818 with :
19- repository : reactjs/zh-hans. react.dev
19+ repository : reactjs/react.dev
2020
2121 - name : Checkout code
2222 uses : actions/checkout@v4
7575 push : true
7676 context : .
7777 platforms : linux/amd64,linux/arm64
78- tags : ${{ secrets.DOCKER_USER }}/zh-hans. react.dev:latest
78+ tags : ${{ secrets.DOCKER_USER }}/react.dev:latest
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - name : Checkout zh-hans. react.dev code
15+ - name : Checkout react.dev code
1616 uses : actions/checkout@v4
1717 with :
18- repository : reactjs/zh-hans. react.dev
18+ repository : reactjs/react.dev
1919
2020 - name : Checkout code
2121 uses : actions/checkout@v4
7575 context : .
7676 platforms : linux/amd64,linux/arm64
7777 tags : |
78- ${{ secrets.DOCKER_USER }}/zh-hans. react.dev:latest
79- ${{ secrets.DOCKER_USER }}/zh-hans. react.dev:${{ github.ref_name }}
78+ ${{ secrets.DOCKER_USER }}/react.dev:latest
79+ ${{ secrets.DOCKER_USER }}/react.dev:${{ github.ref_name }}
8080
Original file line number Diff line number Diff line change 1- React 中文文档 for [ Docker] ( https://hub.docker.com/r/wcjiang/zh-hans. react.dev )
1+ React 中文文档 for [ Docker] ( https://hub.docker.com/r/wcjiang/react.dev )
22===
33
44<!-- rehype:ignore:start-->
55[ ![ CI] ( https://github.com/jaywcjlove/zh-hans.react.dev-for-docker/actions/workflows/ci.yml/badge.svg )] ( https://github.com/jaywcjlove/zh-hans.react.dev-for-docker/actions/workflows/ci.yml )
6- [ ![ Docker Image Version (latest by date)] ( https://img.shields.io/docker/v/wcjiang/zh-hans. react.dev )] ( https://hub.docker.com/r/wcjiang/zh-hans. react.dev )
7- [ ![ Docker Image Size (latest by date)] ( https://img.shields.io/docker/image-size/wcjiang/zh-hans. react.dev )] ( https://hub.docker.com/r/wcjiang/zh-hans. react.dev )
8- [ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/wcjiang/zh-hans. react.dev )] ( https://hub.docker.com/r/wcjiang/zh-hans. react.dev )
6+ [ ![ Docker Image Version (latest by date)] ( https://img.shields.io/docker/v/wcjiang/react.dev )] ( https://hub.docker.com/r/wcjiang/react.dev )
7+ [ ![ Docker Image Size (latest by date)] ( https://img.shields.io/docker/image-size/wcjiang/react.dev )] ( https://hub.docker.com/r/wcjiang/react.dev )
8+ [ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/wcjiang/react.dev )] ( https://hub.docker.com/r/wcjiang/react.dev )
99[ ![ GitHub last commit] ( https://img.shields.io/github/last-commit/jaywcjlove/zh-hans.react.dev-for-docker?style=flat&label=zh-hans.react.dev )] ( https://github.com/jaywcjlove/zh-hans.react.dev-for-docker/commits )
1010<!-- rehype:ignore:end-->
1111
1212新 [ React 中文文档] ( https://zh-hans.react.dev/ ) docker 版本,方便本地[ 部署] ( https://github.com/reactjs/zh-hans.react.dev ) 查看文档
1313
1414
1515``` bash
16- docker pull wcjiang/zh-hans. react.dev:latest
16+ docker pull wcjiang/react.dev:latest
1717```
1818
1919``` bash
2020docker run --name zh-hans.react.dev \
2121 -p 60007:3000 \
2222 --restart=always \
23- -d wcjiang/zh-hans. react.dev:latest
23+ -d wcjiang/react.dev:latest
2424```
2525
2626## License
You can’t perform that action at this time.
0 commit comments