chore(deps): update ghcr.io/apollographql/router docker tag to v1.57.0 #68
Workflow file for this run
This file contains 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
on: | |
push: | |
paths: | |
- Dockerfile | |
jobs: | |
update_schema: | |
name: Update Router Config JSON Schema | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Build Docker image | |
run: docker build -t router . | |
- name: Update Config JSON Schema | |
run: docker run router config schema > .apollo/router_config_schema.json | |
- name: Check if anything changed | |
run: git diff --exit-code .apollo/router_config_schema.json | |
- name: Commit and push changes | |
if: ${{ failure() }} | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git add .apollo/router_config_schema.json | |
git commit -m "Update router config schema" | |
git push |