Add docker hub credentials and lifecycle for ECR (#27)

* Add credentials for docker hub

* Add lifecycle policy
This commit is contained in:
Niklas Fondberg
2020-10-09 12:33:57 +02:00
committed by GitHub
parent ba0952fb30
commit 486119aab1
3 changed files with 73 additions and 32 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"rules": [
{
"rulePriority": 1,
"description": "Only keep 8 images",
"selection": {
"tagStatus": "any",
"countType": "imageCountMoreThan",
"countNumber": 8
},
"action": { "type": "expire" }
}]
}