feat: update minor versions of pg 17 and 15 (#1766) #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mirror PostgREST | |
on: | |
push: | |
branches: | |
- develop | |
paths: | |
- ".github/workflows/mirror-postgrest.yml" | |
- "ansible/vars.yml" | |
permissions: | |
contents: read | |
jobs: | |
version: | |
runs-on: ubuntu-latest | |
outputs: | |
postgrest_release: ${{ steps.args.outputs.result }} | |
steps: | |
- name: Checkout Repo | |
uses: supabase/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: supabase/cli/.github/workflows/mirror-image.yml@main | |
with: | |
image: postgrest/postgrest:v${{ needs.version.outputs.postgrest_release }} | |
secrets: inherit |