Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: Put a latest tag on DockerHub when publishing a new image (#27350)

Ivan Vasilov0676e916c7e1
diff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.yml
index 9a6b20038b7..7f14f125ed9 100644
--- a/.github/workflows/publish_image.yml
+++ b/.github/workflows/publish_image.yml
@@ -1,18 +1,10 @@
name: Publish to Image Registry
on:
- push:
- tags:
- - '*'
# run this action every Monday at 04:00 UTC (Singapore noon)
schedule:
- cron: '0 4 * * 1'
workflow_dispatch:
- inputs:
- version:
- description: 'Image tag'
- required: true
- type: string
jobs:
settings:
@@ -26,11 +18,10 @@ jobs:
images: |
supabase/studio
flavor: |
- latest=false
+ latest=true
tags: |
- type=ref,event=tag
type=sha,prefix={{date 'YYYYMMDD'}}-,enable=${{ github.event_name == 'schedule' }}
- type=raw,value=${{ inputs.version }},enable=${{ github.event_name == 'workflow_dispatch' }}
+ type=sha,prefix={{date 'YYYYMMDD'}}-,enable=${{ github.event_name == 'workflow_dispatch' }}
release_x86:
needs: settings