feat: added build for gotrue image

This commit is contained in:
Fu Zi Xiang 2023-12-27 03:42:43 +08:00
parent 04270eb2bf
commit 6dedb80ec0
No known key found for this signature in database
1 changed files with 19 additions and 5 deletions

View File

@ -18,6 +18,20 @@ env:
LATEST_TAG: latest LATEST_TAG: latest
jobs: jobs:
gotrue_image:
runs-on: ubuntu-22.04
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Build and Push GoTrue
run: |
docker compose build gotrue
docker tag appflowy-cloud-gotrue appflowyinc/gotrue:${{ env.GIT_TAG }}
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login --username appflowyinc --password-stdin
docker push appflowyinc/gotrue:${{ env.GIT_TAG }}
docker push appflowyinc/gotrue:latest
appflowy_cloud_image: appflowy_cloud_image:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
env: env: