Skip to content

Commit

Permalink
multifile update
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Nov 19, 2024
1 parent 8fb699b commit a3e1212
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/hetzner-prd-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,31 @@ jobs:
uses: fjogeleit/yaml-update-action@main
with:
repository: Bot-detector/bot-detector-k8s
valueFile: ${{ env.VALUE_FILE }}
token: "${{ secrets.HETZNER_ACTIONS_RUNNER_TOKEN }}"
commitChange: true
title: "${{ env.VALUE_FILE }}_${{ steps.vars.outputs.GIT_HASH }}"
branch: "${{ env.VALUE_FILE }}_${{ steps.vars.outputs.GIT_HASH }}"
title: "automation-${{ steps.vars.outputs.GIT_HASH }}"
branch: "automation-${{ steps.vars.outputs.GIT_HASH }}"
targetBranch: develop
masterBranchName: develop
createPR: true
changes: |
{
"spec.template.spec.containers[0].image": "${{ env.REGISTRY }}:${{ steps.vars.outputs.GIT_HASH }}"
}
[
{
"path": "bd-automation-prd/broadcaster-job.yaml",
"change": {
"spec.template.spec.containers[0].image": "${{ env.REGISTRY }}:${{ steps.vars.outputs.GIT_HASH }}"
}
},
{
"path": "bd-automation-prd/kafka-job.yaml",
"change": {
"spec.template.spec.containers[0].image": "${{ env.REGISTRY }}:${{ steps.vars.outputs.GIT_HASH }}"
}
},
{
"path": "bd-automation-prd/tipoff-job.yaml",
"change": {
"spec.template.spec.containers[0].image": "${{ env.REGISTRY }}:${{ steps.vars.outputs.GIT_HASH }}"
}
}
]

0 comments on commit a3e1212

Please sign in to comment.