Skip to content

Commit

Permalink
Add a dev variant to curl
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Moore <mattmoor@chainguard.dev>
  • Loading branch information
mattmoor committed Sep 29, 2023
1 parent cf77166 commit b5c2bd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/curl/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ variable "target_repository" {

module "latest" {
source = "../../tflib/publisher"

name = basename(path.module)

target_repository = var.target_repository
config = file("${path.module}/configs/latest.apko.yaml")
build-dev = true
}

module "version-tags" {
Expand All @@ -29,5 +28,6 @@ module "tagger" {

tags = merge(
{ for t in toset(concat(["latest"], module.version-tags.tag_list)) : t => module.latest.image_ref },
{ for t in toset(concat(["latest"], module.version-tags.tag_list)) : "${t}-dev" => module.latest.dev_ref },
)
}

0 comments on commit b5c2bd2

Please sign in to comment.