8000 chore: mirror postgrest image on version bump (#1053) · parkernilson/supabase-postgres@de45815 · GitHub
[go: up one dir, main page]

Skip to content

Commit de45815

Browse files
authored
chore: mirror postgrest image on version bump (supabase#1053)
1 parent 8028575 commit de45815

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Mirror PostgREST
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
paths:
8+
- ".github/workflows/mirror-postgrest.yml"
9+
- "common.vars*"
10+
11+
jobs:
12+
version:
13+
runs-on: ubuntu-latest
14+
outputs:
15+
postgrest_release: ${{ steps.args.outputs.result }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
- id: args
19+
uses: mikefarah/yq@master
20+
with:
21+
cmd: yq '.postgrest_release' 'ansible/vars.yml'
22+
23+
mirror:
24+
needs:
25+
- version
26+
permissions:
27+
contents: read
28+
packages: write
29+
id-token: write
30+
uses: supabase/cli/.github/workflows/mirror-image.yml@main
31+
with:
32+
image: postgrest/postgrest:v${{ needs.version.outputs.postgrest_release }}
33+
secrets: inherit

0 commit comments

Comments
 (0)
0