Skip to content

Commit

Permalink
fix(build-system): image expiring (AztecProtocol#4521)
Browse files Browse the repository at this point in the history
We used to tag a lot, but now actually we push a lot of unique images.
We shouldn't stop at tagged images.

---------

Co-authored-by: ludamad <adam@aztecprotocol.com>
  • Loading branch information
ludamad and ludamad0 authored Feb 8, 2024
1 parent d8ae42b commit 1501afd
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions build-system/scripts/ensure_repo
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,18 @@ LIFECYCLE_POLICY='{
"rules": [
{
"rulePriority": 1,
"description": "No more than 200 cache images.",
"description": "No more than 1000 images, regardless of tag status.",
"selection": {
"tagStatus": "tagged",
"tagPrefixList": ["cache-"],
"tagStatus": "any",
"countType": "imageCountMoreThan",
"countNumber": 200
"countNumber": 1000
},
"action": {
"type": "expire"
}
}
]
}
'
}'

REPOSITORY=$1
REGION=$2
Expand Down

0 comments on commit 1501afd

Please sign in to comment.