diff --git a/.github/workflows/mirror-postgrest.yml b/.github/workflows/mirror-postgrest.yml index 9963ae7727..b9137d2fb5 100644 --- a/.github/workflows/mirror-postgrest.yml +++ b/.github/workflows/mirror-postgrest.yml @@ -33,5 +33,6 @@ jobs: id-token: write uses: supabase/cli/.github/workflows/mirror-image.yml@d4fc0e5bbd65b3ade802e956d6df1cddab2e65a3 # v3.1.0 with: + # PostgREST is mirrored to ECR with a -middleware suffix (also updated in cli-smoke-test.nix for the "rest-version") image: supabase/postgrest:v${{ needs.version.outputs.postgrest_release }}-middleware secrets: inherit diff --git a/nix/packages/cli-smoke-test.nix b/nix/packages/cli-smoke-test.nix index e7fb336a27..8839242b6b 100644 --- a/nix/packages/cli-smoke-test.nix +++ b/nix/packages/cli-smoke-test.nix @@ -148,7 +148,8 @@ writeShellApplication { mkdir -p supabase/.temp # Set component versions - CLI reads these to determine which images to use - echo "v$REST_VERSION" > supabase/.temp/rest-version + # PostgREST is mirrored to ECR with a -middleware suffix (see mirror-postgrest.yml) + echo "v$REST_VERSION-middleware" > supabase/.temp/rest-version echo "v$AUTH_VERSION" > supabase/.temp/gotrue-version # Use major version so CLI constructs supabase/postgres:$PG_VERSION (our local build) echo "$PG_VERSION" > supabase/.temp/postgres-version