diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..354eebd --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +node_modules/ diff --git a/.slsa-goreleaser-darwin-amd64.yml b/.slsa-goreleaser-darwin-amd64.yml new file mode 100644 index 0000000..ca88555 --- /dev/null +++ b/.slsa-goreleaser-darwin-amd64.yml @@ -0,0 +1,15 @@ +version: 1 + +env: + - CGO_ENABLED=0 + +flags: + - -trimpath + +goos: darwin +goarch: amd64 + +binary: hishtory-{{ .Os }}-{{ .Arch }} + +ldflags: + - '{{ .Env.VERSION_LDFLAGS }}' diff --git a/.slsa-goreleaser-darwin-arm64.yml b/.slsa-goreleaser-darwin-arm64.yml new file mode 100644 index 0000000..998d8fc --- /dev/null +++ b/.slsa-goreleaser-darwin-arm64.yml @@ -0,0 +1,15 @@ +version: 1 + +env: + - CGO_ENABLED=0 + +flags: + - -trimpath + +goos: darwin +goarch: arm64 + +binary: hishtory-{{ .Os }}-{{ .Arch }} + +ldflags: + - '{{ .Env.VERSION_LDFLAGS }}' diff --git a/.slsa-goreleaser-linux-amd64.yml b/.slsa-goreleaser-linux-amd64.yml new file mode 100644 index 0000000..8f8d8cb --- /dev/null +++ b/.slsa-goreleaser-linux-amd64.yml @@ -0,0 +1,15 @@ +version: 1 + +env: + - CGO_ENABLED=0 + +flags: + - -trimpath + +goos: linux +goarch: amd64 + +binary: hishtory-{{ .Os }}-{{ .Arch }} + +ldflags: + - '{{ .Env.VERSION_LDFLAGS }}'