Update policies and kubectl image #39
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: Update policies and kubectl image | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 3 * * 1" # 3:30 on Monday | |
jobs: | |
update-dependencies: | |
name: Update policies and kubectl image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install Updatecli in the runner | |
uses: updatecli/updatecli-action@cb631ef5547ed05db3db64bb2ad42a6cc36e3097 # v2.71.0 | |
- name: Update policies and images | |
id: update_policies_images | |
env: | |
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
UPDATECLI_GITHUB_OWNER: ${{ github.repository_owner }} | |
run: |- | |
updatecli apply --config ./updatecli/updatecli.d/update-deps.yaml \ | |
--values updatecli/values.yaml |