-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add missing goreleaser file (#1179)
- Loading branch information
Showing
5 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
project_name: operator | ||
includes: | ||
- from_file: | ||
path: ./../../.goreleaser.default.yaml | ||
|
||
monorepo: | ||
tag_prefix: v | ||
dir: ./ | ||
|
||
builds: | ||
- binary: operator | ||
id: operator | ||
ldflags: | ||
- -X github.com/formancehq/operator/cmd.BuildDate={{ .Date }} | ||
- -X github.com/formancehq/operator/cmd.Version={{ .Version }} | ||
- -X github.com/formancehq/operator/cmd.Commit={{ .ShortCommit }} | ||
- -extldflags "-static" | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
|
||
archives: | ||
- id: "{{.ProjectName}}" | ||
builds: | ||
- operator | ||
format: tar.gz | ||
name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" | ||
|
||
|
||
release: | ||
prerelease: auto | ||
footer: | | ||
## What to do next? | ||
- Read the [documentation](https://docs.formance.com/) | ||
- Join our [Slack server](https://formance.com/slack) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM ghcr.io/formancehq/base:22.04 | ||
COPY operator /usr/bin/operator | ||
ENV OTEL_SERVICE_NAME operator | ||
ENTRYPOINT ["/usr/bin/operator"] |
File renamed without changes.