|
6 | 6 | jobs: |
7 | 7 | build-appflowy-cloud: |
8 | 8 | runs-on: ubuntu-latest |
9 | | - permissions: |
10 | | - contents: read |
11 | | - packages: write |
12 | 9 | steps: |
13 | 10 | - name: Checkout |
14 | 11 | uses: actions/checkout@v4 |
15 | 12 |
|
16 | 13 | - name: Set up Docker Buildx |
17 | 14 | uses: docker/setup-buildx-action@v3 |
18 | 15 |
|
19 | | - - name: Login to GHCR |
| 16 | + - name: Login to Docker Hub |
20 | 17 | uses: docker/login-action@v3 |
21 | 18 | with: |
22 | | - registry: ghcr.io |
23 | | - username: ${{ github.actor }} |
24 | | - password: ${{ secrets.GITHUB_TOKEN }} |
| 19 | + username: ${{ secrets.DOCKERHUB_USERNAME }} |
| 20 | + password: ${{ secrets.DOCKERHUB_TOKEN }} |
25 | 21 |
|
26 | 22 | - name: Build and push appflowy_cloud |
27 | 23 | uses: docker/build-push-action@v5 |
28 | 24 | with: |
29 | 25 | context: . |
30 | 26 | file: ./Dockerfile |
31 | 27 | push: true |
32 | | - tags: ghcr.io/yodev-dev/appflowy_cloud:latest |
| 28 | + tags: gwillisyodev/appflowy_cloud:latest |
33 | 29 |
|
34 | 30 | build-admin-frontend: |
35 | 31 | runs-on: ubuntu-latest |
36 | | - permissions: |
37 | | - contents: read |
38 | | - packages: write |
39 | 32 | steps: |
40 | 33 | - name: Checkout |
41 | 34 | uses: actions/checkout@v4 |
42 | 35 |
|
43 | 36 | - name: Set up Docker Buildx |
44 | 37 | uses: docker/setup-buildx-action@v3 |
45 | 38 |
|
46 | | - - name: Login to GHCR |
| 39 | + - name: Login to Docker Hub |
47 | 40 | uses: docker/login-action@v3 |
48 | 41 | with: |
49 | | - registry: ghcr.io |
50 | | - username: ${{ github.actor }} |
51 | | - password: ${{ secrets.GITHUB_TOKEN }} |
| 42 | + username: ${{ secrets.DOCKERHUB_USERNAME }} |
| 43 | + password: ${{ secrets.DOCKERHUB_TOKEN }} |
52 | 44 |
|
53 | 45 | - name: Build and push admin_frontend |
54 | 46 | uses: docker/build-push-action@v5 |
55 | 47 | with: |
56 | 48 | context: ./admin_frontend |
57 | 49 | file: ./admin_frontend/Dockerfile |
58 | 50 | push: true |
59 | | - tags: ghcr.io/yodev-dev/admin_frontend:latest |
| 51 | + tags: gwillisyodev/admin_frontend:latest |
0 commit comments