Skip to content

Commit

Permalink
try docker for helmfile and yq
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Jul 31, 2024
1 parent 5e27cf7 commit ab6f50e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/diff-values.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
on: push

name: Check values files
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Create helmfile docker shim
run: >
echo 'docker run --rm -v "${PWD}:/wd" ghcr.io/helmfile/helmfile:latest helmfile' > /usr/bin/helmfile
chmod a+x /usr/bin/helmfile
- name: Create yq docker shim
run: >
echo 'docker run --rm -v "${PWD}:/wd" --entrypoint yq ghcr.io/linuxserver/yq:latest' > /usr/bin/yq
chmod a+x /usr/bin/yq
- name: Diff generated value files
run: >
for env_dir in k8s/argocd/*; do
Expand Down

0 comments on commit ab6f50e

Please sign in to comment.