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 }}" + }