fix: github tag

This commit is contained in:
Fu Zi Xiang 2023-12-27 03:52:11 +08:00
parent 6dedb80ec0
commit 7e7c692156
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -26,10 +26,11 @@ jobs:
- name: Build and Push GoTrue
run: |
export TAG=${GITHUB_REF#refs/*/}
docker compose build gotrue
docker tag appflowy-cloud-gotrue appflowyinc/gotrue:${{ env.GIT_TAG }}
docker tag appflowy-cloud-gotrue appflowyinc/gotrue:$TAG
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login --username appflowyinc --password-stdin
docker push appflowyinc/gotrue:${{ env.GIT_TAG }}
docker push appflowyinc/gotrue:$TAG
docker push appflowyinc/gotrue:latest
appflowy_cloud_image: