Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] - Bridgecrew Image Versions #373

Merged
merged 1 commit into from
Aug 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ jobs:
include:
- name: Checkov
repository: bridgecrewio/checkov
image: bridgecrew/checkov
value: controller.images.policy
- name: Infracost
repository: infracost/infracost
image: infracost/infracost
value: controller.images.infracost
- name: Terraform
repository: hashicorp/terraform
image: hashicorp/terraform
value: controller.images.terraform
runs-on: ubuntu-latest
steps:
Expand All @@ -36,7 +39,7 @@ jobs:
- name: Patch Helm Chart
run: |
export VERSION=$(cat /tmp/release.latest)
export IMAGE="${{ matrix.repository }}:${VERSION##v}"
export IMAGE="${{ matrix.image }}:${VERSION##v}"
yq e '.${{ matrix.value }} = strenv(IMAGE)' -i charts/terranetes-controller/values.yaml
- name: Raise Pull Request
uses: peter-evans/create-pull-request@v4
Expand All @@ -45,5 +48,4 @@ jobs:
branch-suffix: timestamp
title: '[IMAGES] - ${{ matrix.name }} Image Update'
body: |
Updating the ${{ matrix.name }} image in the helm values to
the latest
Updating the ${{ matrix.name }} image in the helm values to the latest