Skip to content

Commit

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

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

name = basename(path.module)

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 79b8f2e

Please sign in to comment.