Skip to content

Commit

Permalink
feat(build, stapel): use stapel image from registry.werf.io
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
  • Loading branch information
alexey-igrychev committed May 30, 2024
1 parent bb741a3 commit 034bf6d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkg/stapel/stapel.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const VERSION = "0.6.1"
const IMAGE = "flant/werf-stapel"
const IMAGE = "registry.werf.io/werf/werf-stapel"

func getVersion() string {
version := VERSION
Expand All @@ -24,12 +24,12 @@ func getVersion() string {
}

func getImage() string {
image := IMAGE
if i := os.Getenv("WERF_STAPEL_IMAGE_NAME"); i != "" {
image = i
}
return image
}
image := IMAGE
if i := os.Getenv("WERF_STAPEL_IMAGE_NAME"); i != "" {
image = i
}
return image
}

func ImageName() string {
return fmt.Sprintf("%s:%s", getImage(), getVersion())
Expand Down

0 comments on commit 034bf6d

Please sign in to comment.