File tree 2 files changed +33
-12
lines changed
2 files changed +33
-12
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,23 @@ jobs:
23
23
uses : actions/checkout@v4
24
24
with :
25
25
fetch-depth : 0
26
- - name : Build and Push Docker Images
27
- run : make docker-buildx GIT_TAG=${{ github.event.release.tag_name }}
26
+ - name : Set up Go
27
+ uses : actions/setup-go@v5
28
+ with :
29
+ go-version : stable
30
+ - name : Run GoReleaser
31
+ uses : goreleaser/goreleaser-action@v6
32
+ with :
33
+ distribution : goreleaser
34
+ version : " ~> v2"
35
+ args : release --clean
28
36
env :
29
37
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
+ KO_DOCKER_REPO : ghcr.io/${{ github.repository }}
39
+ # - name: Build and Push Docker Images
40
+ # run: make docker-buildx GIT_TAG=${{ github.event.release.tag_name }}
41
+ # env:
42
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30
43
- name : Build and Push OLM Bundle Image
31
44
run : make bundle bundle-build bundle-push GIT_TAG=${{ github.event.release.tag_name }}
32
45
env :
Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ before:
10
10
# - go test ./...
11
11
12
12
builds :
13
- - env :
13
+ - skip : true
14
+ env :
14
15
- CGO_ENABLED=0
15
16
main : ./cmd
16
- binary : istio-fortsa
17
+ binary : manager
17
18
flags :
18
19
- -trimpath
19
20
ldflags :
@@ -22,10 +23,17 @@ builds:
22
23
- linux
23
24
goarch :
24
25
- amd64
26
+ - arm64
27
+
28
+ release :
29
+ github :
30
+ owner : hercynium
31
+ name : istio-fortsa
25
32
26
33
kos :
27
34
- base_image : gcr.io/distroless/static:nonroot
28
- repository : ghcr.io/{{ .Env.GITHUB_REPOSITORY }}
35
+ repository : ghcr.io/hercynium/istio-fortsa
36
+ main : ./cmd
29
37
tags :
30
38
- " {{ .Tag }}"
31
39
- latest
55
63
org.opencontainers.image.source : " {{ .Env.GITHUB_SERVER_URL }}/{{ .Env.GITHUB_REPOSITORY }}"
56
64
57
65
58
- release :
59
- skip_upload : true
60
- footer : |
61
- # Container images
66
+ # release:
67
+ # skip_upload: true
68
+ # footer: |
69
+ # # Container images
62
70
63
- ```
64
- ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:{{ .Tag }}
65
- ```
71
+ # ```
72
+ # ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:{{ .Tag }}
73
+ # ```
66
74
67
75
changelog :
68
76
sort : asc
You can’t perform that action at this time.
0 commit comments