fix(container): update image ghcr.io/external-secrets/charts/external-secrets (0.14.3 β 0.14.4) #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Image Pull | |
on: | |
pull_request: | |
branches: ["master"] | |
paths: ["kubernetes/**"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
extract: | |
name: Extract Images | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
branches: ["default", "pull"] | |
fail-fast: false | |
outputs: | |
default: ${{ steps.extract.outputs.default }} | |
pull: ${{ steps.extract.outputs.pull }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: "${{ matrix.branches == 'default' && github.event.repository.default_branch || '' }}" | |
- name: Gather Images | |
uses: docker://ghcr.io/allenporter/flux-local:v7.2.1 | |
with: | |
args: >- | |
get cluster | |
--all-namespaces | |
--path /github/workspace/kubernetes/flux/cluster | |
--enable-images | |
--only-images | |
--output json | |
--output-file images.json | |
- name: Extract Images | |
id: extract | |
run: echo "${{ matrix.branches }}=$(jq --compact-output '.' images.json)" >> $GITHUB_OUTPUT | |
diff: | |
needs: extract | |
name: Diff Images | |
runs-on: ubuntu-latest | |
if: ${{ needs.extract.outputs.default != needs.extract.outputs.pull }} | |
outputs: | |
images: ${{ steps.diff.outputs.images }} | |
steps: | |
- name: Diff Images | |
id: diff | |
run: | | |
images=$(jq --compact-output --null-input \ | |
--argjson f1 '${{ needs.extract.outputs.default }}' \ | |
--argjson f2 '${{ needs.extract.outputs.pull }}' \ | |
'$f2 - $f1' \ | |
) | |
echo "images=${images}" >> $GITHUB_OUTPUT | |
pull: | |
needs: diff | |
name: Pull Images | |
runs-on: k8s-gitops-runner | |
if: ${{ needs.diff.outputs.images != '[]' }} | |
strategy: | |
matrix: | |
images: ${{ fromJSON(needs.diff.outputs.images) }} | |
max-parallel: 4 | |
fail-fast: false | |
steps: | |
- name: Install talosctl | |
run: curl -fsSL https://talos.dev/install | sh | |
- name: Pull Image | |
run: talosctl --nodes $NODE image pull ${{ matrix.images }} |