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
2+
3+ on :
4+ workflow_dispatch :
5+
6+ env :
7+ REGISTRY : ghcr.io
8+
9+ jobs :
10+ build-appflowy-web :
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
14+ packages : write
15+ steps :
16+ - name : Checkout AppFlowy-Web
17+ uses : actions/checkout@v4
18+ with :
19+ repository : AppFlowy-IO/AppFlowy-Web
20+ ref : main
21+
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v3
24+
25+ - name : Login to GHCR
26+ uses : docker/login-action@v3
27+ with :
28+ registry : ${{ env.REGISTRY }}
29+ username : ${{ github.actor }}
30+ password : ${{ secrets.GITHUB_TOKEN }}
31+
32+ - name : Build and push appflowy_web
33+ uses : docker/build-push-action@v5
34+ with :
35+ context : .
36+ file : ./docker/Dockerfile
37+ push : true
38+ tags : ghcr.io/yodev-dev/appflowy_web:latest
39+ cache-from : type=gha
40+ cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments