Skip to content

Commit 2c558ff

Browse files
Add GitHub Actions workflow for Docker Hub build
1 parent ce720c5 commit 2c558ff

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build AppFlowy Web Docker Hub
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build-appflowy-web:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: Set up Docker Buildx
14+
uses: docker/setup-buildx-action@v3
15+
16+
- name: Login to Docker Hub
17+
uses: docker/login-action@v3
18+
with:
19+
username: ${{ secrets.DOCKERHUB_USERNAME }}
20+
password: ${{ secrets.DOCKERHUB_TOKEN }}
21+
22+
- name: Build and push appflowy_web
23+
uses: docker/build-push-action@v5
24+
with:
25+
context: .
26+
file: ./docker/Dockerfile
27+
push: true
28+
tags: gwillisyodev/appflowy_web:latest

0 commit comments

Comments
 (0)