https://github.com/umihico/clean-ecr
Wipe untagged images weekly
https://github.com/umihico/clean-ecr
Last synced: 7 months ago
JSON representation
Wipe untagged images weekly
- Host: GitHub
- URL: https://github.com/umihico/clean-ecr
- Owner: umihico
- Created: 2022-01-09T10:36:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-25T14:43:35.000Z (over 3 years ago)
- Last Synced: 2025-01-15T23:15:59.881Z (9 months ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clean ECR
Wipe untagged images weekly
## Local execution with another profile
```bash
export AWS_PROFILE=default # or change to another
circleci local execute --job batch \
-e AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id) \
-e AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key) \
-e AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text) \
-e AWS_DEFAULT_REGION=$(aws configure get region) \
-e AWS_REGION=$(aws configure get region)
```