Skip to content

Commit 2334c05

Browse files
perdasilvaPer Goncalves da Silva
andauthored
add copy-content to goreleaser and release artifacts (#3277)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent 161b89c commit 2334c05

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.goreleaser.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,23 @@ builds:
7474
ldflags:
7575
- -X {{ .Env.PKG }}/pkg/version.GitCommit={{ .FullCommit }}
7676
- -X {{ .Env.PKG }}/pkg/version.OLMVersion={{ .Tag }}
77+
- id: copy-content
78+
main: ./cmd/copy-content
79+
binary: copy-content
80+
goos:
81+
- linux
82+
goarch:
83+
- amd64
84+
- arm64
85+
- ppc64le
86+
- s390x
87+
tags:
88+
- json1
89+
flags:
90+
- -mod=vendor
91+
ldflags:
92+
- -X {{ .Env.PKG }}/pkg/version.GitCommit={{ .FullCommit }}
93+
- -X {{ .Env.PKG }}/pkg/version.OLMVersion={{ .Tag }}
7794
dockers:
7895
- image_templates:
7996
- "{{ .Env.IMAGE_REPO }}:{{ .Tag }}-amd64"

Dockerfile.goreleaser

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN ["/busybox/ln", "-s", "/busybox/cp", "/bin/cp"]
77
COPY olm /bin/olm
88
COPY catalog /bin/catalog
99
COPY package-server /bin/package-server
10+
COPY copy-content /bin/copy-content
1011
COPY cpb /bin/cpb
1112
EXPOSE 8080
1213
EXPOSE 5443

0 commit comments

Comments
 (0)