File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 15
15
- uses : dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e # 8.0.0
16
16
with :
17
17
verb : call
18
- args : " release --tag=$TAG --registry=ghcr.io --image-name=$IMAGE_NAME --username=$REGISTRY_USERNAME --password=env://REGISTRY_PASSWORD"
18
+ args : " release-server --tag=$TAG --registry=ghcr.io --image-name=$IMAGE_NAME --username=$REGISTRY_USERNAME --password=env://REGISTRY_PASSWORD"
19
19
env :
20
20
IMAGE_NAME : ${{ github.repository }}
21
21
REGISTRY_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
24
24
- uses : dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e # 8.0.0
25
25
with :
26
26
verb : call
27
- args : " build -cli --tag=$TAG --token=env://REGISTRY_PASSWORD "
27
+ args : " release -cli --tag=$TAG --token=env://TOKEN "
28
28
env :
29
29
TAG : ${{ github.event.release.tag_name }}
30
30
TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ func (m *Kv2) BuildServerContainer(
39
39
WithExposedPort (80 ) // used for development mode ONLY
40
40
}
41
41
42
- func (m * Kv2 ) BuildCli (
42
+ func (m * Kv2 ) ReleaseCli (
43
43
ctx context.Context ,
44
44
tag string ,
45
45
// +optional
@@ -54,6 +54,6 @@ func (m *Kv2) BuildCli(
54
54
WithEnvVariable ("GOCACHE" , "/go/build-cache" ).
55
55
WithDirectory ("/go/src/github.com/hugginsio/kv2/" , source ).
56
56
WithWorkdir ("/go/src/github.com/hugginsio/kv2/" ).
57
- WithExec ([]string {"goreleaser" , "build " }).
57
+ WithExec ([]string {"goreleaser" , "release " }).
58
58
Stdout (ctx )
59
59
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func (m *Kv2) PullRequest(
26
26
return strings .Join ([]string {lint , test }, "\n " ), nil
27
27
}
28
28
29
- func (m * Kv2 ) Release (
29
+ func (m * Kv2 ) ReleaseServer (
30
30
ctx context.Context ,
31
31
tag string ,
32
32
registry string ,
You can’t perform that action at this time.
0 commit comments