File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require (
1010 github.com/google/go-containerregistry v0.20.7
1111 github.com/gorilla/websocket v1.5.3
1212 github.com/itchyny/json2yaml v0.1.4
13- github.com/kernel/hypeman-go v0.10 .0
13+ github.com/kernel/hypeman-go v0.11 .0
1414 github.com/muesli/reflow v0.3.0
1515 github.com/stretchr/testify v1.11.1
1616 github.com/tidwall/gjson v1.18.0
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 h1:8Tjv8EJ+pM1xP8mK6egEbD1OgnV
7272github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 /go.mod h1:pkJQ2tZHJ0aFOVEEot6oZmaVEZcRme73eIFmhiVuRWs =
7373github.com/itchyny/json2yaml v0.1.4 h1:/pErVOXGG5iTyXHi/QKR4y3uzhLjGTEmmJIy97YT+k8 =
7474github.com/itchyny/json2yaml v0.1.4 /go.mod h1:6iudhBZdarpjLFRNj+clWLAkGft+9uCcjAZYXUH9eGI =
75- github.com/kernel/hypeman-go v0.10 .0 h1:terBKYBwHAtDic425oUrb3RZMo0Q0DrXjPiVNmDXblE =
76- github.com/kernel/hypeman-go v0.10 .0 /go.mod h1:guRrhyP9QW/ebUS1UcZ0uZLLJeGAAhDNzSi68U4M9hI =
75+ github.com/kernel/hypeman-go v0.11 .0 h1:hCXNUHtrhGKswJapzyWyozBOXhKK/oreKvm0AXHuE6c =
76+ github.com/kernel/hypeman-go v0.11 .0 /go.mod h1:guRrhyP9QW/ebUS1UcZ0uZLLJeGAAhDNzSi68U4M9hI =
7777github.com/klauspost/compress v1.18.1 h1:bcSGx7UbpBqMChDtsF28Lw6v/G94LPrrbMbdC3JH2co =
7878github.com/klauspost/compress v1.18.1 /go.mod h1:ZQFFVG+MdnR0P+l6wpXgIL4NTtwiKIdBnrBd8Nrxr+0 =
7979github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE =
Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ Examples:
7373 Name : "secrets" ,
7474 Usage : `JSON array of secret references to inject during build (e.g., '[{"id":"npm_token"}]')` ,
7575 },
76+ & cli.StringFlag {
77+ Name : "image-name" ,
78+ Usage : `Custom image name for the build output (pushed to {registry}/{image_name} instead of {registry}/builds/{id})` ,
79+ },
7680 },
7781 Commands : []* cli.Command {
7882 & buildListCmd ,
@@ -165,6 +169,9 @@ func handleBuild(ctx context.Context, cmd *cli.Command) error {
165169 if v := cmd .String ("secrets" ); v != "" {
166170 params .Secrets = hypeman .Opt (v )
167171 }
172+ if v := cmd .String ("image-name" ); v != "" {
173+ params .ImageName = hypeman .Opt (v )
174+ }
168175
169176 // Start build
170177 build , err := client .Builds .New (ctx , params , opts ... )
You can’t perform that action at this time.
0 commit comments