From 2014b31a321dbdb920912502d577a594aacc4255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Andr=C3=A9s=20Chaparro=20Quintero?= Date: Mon, 29 Jan 2024 20:57:52 -0500 Subject: [PATCH] ci: Update infrastructure repository on release --- .github/workflows/release.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 122bc75..502bec3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -64,3 +64,21 @@ jobs: context: . push: true tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ needs.version.outputs.version }} + + update-infrastructure: + runs-on: ubuntu-22.04 + needs: + - docker + - version + steps: + - uses: convictional/trigger-workflow-and-wait@v1.6.5 + with: + owner: ${{ github.repository_owner }} + repo: infrastructure + github_token: ${{ secrets.INFRASTRUCTURE_WORKFLOW_TRIGGER_PAT }} + workflow_file_name: bump-service.yaml + client_payload: | + { + "service": "gateway", + "version": "${{ needs.version.outputs.version }}" + }