From bdd4cc9eaad78fa00bbce65c958e17c556cd1d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Andr=C3=A9s=20Chaparro=20Quintero?= Date: Mon, 29 Jan 2024 20:55:32 -0500 Subject: [PATCH] ci: Update infrastructure repository on release --- .github/workflows/release.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b4e25dd..469c828 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -66,4 +66,22 @@ jobs: with: context: . push: true - tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ needs.version.outputs.version }} \ No newline at end of file + 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": "tests_microservice", + "version": "${{ needs.version.outputs.version }}" + }