fix: github tag
This commit is contained in:
parent
6dedb80ec0
commit
7e7c692156
|
|
@ -26,10 +26,11 @@ jobs:
|
||||||
|
|
||||||
- name: Build and Push GoTrue
|
- name: Build and Push GoTrue
|
||||||
run: |
|
run: |
|
||||||
|
export TAG=${GITHUB_REF#refs/*/}
|
||||||
docker compose build gotrue
|
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
|
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
|
docker push appflowyinc/gotrue:latest
|
||||||
|
|
||||||
appflowy_cloud_image:
|
appflowy_cloud_image:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue