Skip to content

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

chore: Build the docker image on schedule (#17955)

Ivan Vasilov848870d1cd88
diff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.yml
index f57fd2515d3..425bdd5e731 100644
--- a/.github/workflows/publish_image.yml
+++ b/.github/workflows/publish_image.yml
@@ -2,10 +2,11 @@ name: Publish to Image Registry
on:
push:
- branches:
- - 'studio'
tags:
- '*'
+ # run this action every Monday at 04:00 UTC (Singapore noon)
+ schedule:
+ - cron: '0 4 * * 1'
workflow_dispatch:
inputs:
version:
@@ -28,7 +29,7 @@ jobs:
latest=false
tags: |
type=ref,event=tag
- type=sha,prefix={{date 'YYYYMMDD'}}-,enable=${{ github.event_name == 'push' && github.ref_type == 'branch' }}
+ type=sha,prefix={{date 'YYYYMMDD'}}-,enable=${{ github.event_name == 'schedule' }}
type=raw,value=${{ inputs.version }},enable=${{ github.event_name == 'workflow_dispatch' }}
release_x86: