Skip to content

Commit 3aa9848

Browse files
Update GitHub Actions workflow for Docker Hub
1 parent 785fcc1 commit 3aa9848

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/build-web.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
name: Build AppFlowy Web GHCR
1+
name: Build AppFlowy Web Docker Hub
22

33
on:
44
workflow_dispatch:
55

66
jobs:
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

0 commit comments

Comments
 (0)