Skip to content

Commit bdd4cc9

Browse files
committed
ci: Update infrastructure repository on release
1 parent 22a4d8f commit bdd4cc9

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/release.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,22 @@ jobs:
6666
with:
6767
context: .
6868
push: true
69-
tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ needs.version.outputs.version }}
69+
tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ needs.version.outputs.version }}
70+
71+
update-infrastructure:
72+
runs-on: ubuntu-22.04
73+
needs:
74+
- docker
75+
- version
76+
steps:
77+
- uses: convictional/trigger-workflow-and-wait@v1.6.5
78+
with:
79+
owner: ${{ github.repository_owner }}
80+
repo: infrastructure
81+
github_token: ${{ secrets.INFRASTRUCTURE_WORKFLOW_TRIGGER_PAT }}
82+
workflow_file_name: bump-service.yaml
83+
client_payload: |
84+
{
85+
"service": "tests_microservice",
86+
"version": "${{ needs.version.outputs.version }}"
87+
}

0 commit comments

Comments
 (0)