-
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 822 Bytes
/
mirror-postgrest.yml
File metadata and controls
37 lines (33 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Mirror PostgREST
on:
push:
branches:
- develop
paths:
- ".github/workflows/mirror-postgrest.yml"
- "common.vars*"
permissions:
contents: read
jobs:
version:
runs-on: ubuntu-latest
outputs:
postgrest_release: ${{ steps.args.outputs.result }}
steps:
- name: Checkout Repo
uses: tealbase/postgres/.github/actions/shared-checkout@HEAD
- id: args
uses: mikefarah/yq@master
with:
cmd: yq '.postgrest_release' 'ansible/vars.yml'
mirror:
needs:
- version
permissions:
contents: read
packages: write
id-token: write
uses: tealbase/cli/.github/workflows/mirror-image.yml@main
with:
image: postgrest/postgrest:v${{ needs.version.outputs.postgrest_release }}
secrets: inherit