Skip to content

Commit

Permalink
ci: Update infrastructure repository on release (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroChaparro authored Jan 30, 2024
1 parent 22a4d8f commit e208147
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,22 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ needs.version.outputs.version }}
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 }}"
}

0 comments on commit e208147

Please sign in to comment.