Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/updatecli/updatecli_amis.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sources:
kind: aws/ami
spec:
region: {{ requiredEnv "AWS_REGION" }}
sortby: creationdateasc
filters:
- name: "owner-id"
values: '{{ $ami.owner_id | default "*" }}'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/bumpVersions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
schedule:
- cron: '52 6 * * 1'
push:
branches-ignore:
- 'master'
paths:
- .github/workflows/bumpVersions.yml
- .github/updatecli/**
Expand Down Expand Up @@ -80,7 +82,7 @@ jobs:
UPDATECLI_GITHUB_USERNAME: ${{ vars.BOT_GITHUB_USERNAME }}

- name: Updatecli apply for AMIs
if: inputs.update-type == 'ami' || github.event_name == 'push' || github.event_name == 'schedule'
if: inputs.update-type == 'ami' || github.event_name == 'schedule'
shell: bash
run: |
updatecli apply --config .github/updatecli/updatecli_amis.tpl \
Expand Down