File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build AppFlowy Web GHCR
1+ name : Build AppFlowy Web Docker Hub
22
33on :
44 workflow_dispatch :
55
66jobs :
77 build-appflowy-web :
88 runs-on : ubuntu-latest
9- permissions :
10- contents : read
11- packages : write
129 steps :
1310 - name : Checkout AppFlowy-Web
1411 uses : actions/checkout@v4
@@ -19,17 +16,16 @@ jobs:
1916 - name : Set up Docker Buildx
2017 uses : docker/setup-buildx-action@v3
2118
22- - name : Login to GHCR
19+ - name : Login to Docker Hub
2320 uses : docker/login-action@v3
2421 with :
25- registry : ghcr.io
26- username : ${{ github.actor }}
27- password : ${{ secrets.GITHUB_TOKEN }}
22+ username : ${{ secrets.DOCKERHUB_USERNAME }}
23+ password : ${{ secrets.DOCKERHUB_TOKEN }}
2824
2925 - name : Build and push appflowy_web
3026 uses : docker/build-push-action@v5
3127 with :
3228 context : .
3329 file : ./docker/Dockerfile
3430 push : true
35- tags : ghcr.io/yodev-dev /appflowy_web:latest
31+ tags : gwillisyodev /appflowy_web:latest
You can’t perform that action at this time.
0 commit comments