The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Updates latest tag when published from branch (#8460)
Han Qiaocf7f8b00774c
diff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.ymlindex 78b5855e158..8ed1db87295 100644--- a/.github/workflows/publish_image.yml+++ b/.github/workflows/publish_image.yml@@ -2,17 +2,18 @@ name: Publish to Image Registryon:push:- branches:- - studio- paths:- - 'studio/**'tags:- - 'v*'+ - '*'workflow_dispatch:+ inputs:+ version:+ description: 'Image tag'+ required: true+ type: stringjobs:publish:- runs-on: ubuntu-20.04+ runs-on: ubuntu-lateststeps:- id: metauses: docker/metadata-action@v4@@ -21,9 +22,10 @@ jobs:supabase/studiopublic.ecr.aws/t3w2s2c9/studioflavor: |- latest=true+ latest=falsetags: |type=ref,event=tag+ type=raw,value=${{ inputs.version }},enable=${{ github.event_name != 'push' }}- uses: docker/setup-qemu-action@v2with:@@ -47,7 +49,7 @@ jobs:- uses: docker/build-push-action@v3with:push: true- context: studio+ context: '{{defaultContext}}:studio'target: productionplatforms: linux/amd64,linux/arm64tags: ${{ steps.meta.outputs.tags }}