Skip to content

Commit

Permalink
Only keep latest signatures (#24)
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Johnson <[email protected]>
  • Loading branch information
jonjohnsonjr authored Oct 31, 2023
1 parent f3f4c7e commit 73ca17d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ resource "apko_build" "this" {

resource "cosign_sign" "signature" {
image = apko_build.this.image_ref

# Only keep the latest signature. We use these to ensure we regularly rebuild.
conflict = "REPLACE"
}

locals {
Expand Down

0 comments on commit 73ca17d

Please sign in to comment.