Skip to content

Commit

Permalink
Update serverless.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pennyZZZZ committed Sep 13, 2023
1 parent 37fc837 commit c2f12be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ provider:
functions:
cleanupImages:
handler: handler.cleanupImages
environment:
REPO_NAMES: ${env:REPO_NAMES}
AWS_ACCOUNT_ID: ${env:AWS_ACCOUNT_ID}
DRY_RUN: ${env:DRY_RUN, 'true'}
ECR_REGION: ${env:ECR_REGION, 'us-east-1'}
SLACK_WEBHOOK: ${env:SLACK_WEBHOOK}
timeout: 45
events:
- schedule: rate(1 day)
environment:
REPO_NAMES: ${env:REPO_NAMES}
AWS_ACCOUNT_ID: ${env:AWS_ACCOUNT_ID}
DRY_RUN: ${env:DRY_RUN, 'true'}
ECR_REGION: ${env:ECR_REGION, 'us-east-1'}
SLACK_WEBHOOK: ${env:SLACK_WEBHOOK}

0 comments on commit c2f12be

Please sign in to comment.