Update policies and kubectl image #17
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Install Updatecli in the runner | |
uses: updatecli/updatecli-action@eb158f6fd9e425b940a6750d6318f98e050ac390 # v2.61.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 |