From 73ca17d6bb49afca2b4c04b11e943699e3b572ea Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Tue, 31 Oct 2023 16:15:18 -0700 Subject: [PATCH] Only keep latest signatures (#24) Signed-off-by: Jon Johnson --- main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.tf b/main.tf index a94c143..007f709 100644 --- a/main.tf +++ b/main.tf @@ -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 {