Skip to content

Commit

Permalink
test: commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mischavandenburg committed May 1, 2024
1 parent eb06f01 commit f6a6f41
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-docker-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,32 @@ jobs:
tags: ${{ matrix.image }}:${{ needs.prepare_tag.outputs.tag }}
file: ${{ matrix.dockerfile }}
push: true

commit_to_dev:
needs:
- prepare_tag
- build_and_push
permissions:
contents: write

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ssi-dk/sofi_core_gitops

- name: update image
uses: mikefarah/yq@master
with:
cmd: |
yq eval '.spec.template.spec.containers[0].image = "ghcr.io/mytest/httpd:${{ needs.prepare_tag.outputs.tag }}"' -i ./test.yaml
- name: push
uses: actions-x/commit@v6
with:
email: [email protected]
name: GitHub Actions Autocommitter
branch: main
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f6a6f41

Please sign in to comment.