Skip to content

test_commit_backend

test_commit_backend #9

name: Repository Dispatch
on:
repository_dispatch:
types: [test_commit_backend]
permissions:
contents: write
jobs:
build:
name: Set test backend deployment image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update image version
uses: mikefarah/[email protected]
with:
cmd: yq -i '.spec.template.spec.containers[0].image = "${{ github.event.client_payload.image }}"' torchlite-backend/test/deployment.yaml
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: ${{ github.event.client_payload.commit_msg }}