We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6389b80 commit 641472dCopy full SHA for 641472d
.goreleaser.yaml
@@ -15,14 +15,14 @@ builds:
15
- CGO_ENABLED=0
16
goos:
17
- linux
18
- main: ./cmd
+ main: ./cmd/spire-ha-agent
19
binary: spire-ha-agent
20
id: spire-ha-agent
21
- env:
22
23
24
25
- main: ./cmd/spire-trust-sync-helper.go
+ main: ./cmd/spire-trust-sync-helper
26
binary: spire-trust-sync-helper
27
id: spire-trust-sync-helper
28
Dockerfile
@@ -4,7 +4,7 @@ COPY . /build/
4
WORKDIR /build
5
6
RUN \
7
- GOPROXY=direct CGO_ENABLED=0 go build cmd/main.go && \
+ GOPROXY=direct CGO_ENABLED=0 go build cmd/spire-ha-agent/main.go && \
8
mv main spire-ha-agent
9
10
FROM gcr.io/distroless/static-debian12
cmd/main.go cmd/spire-ha-agent/main.go
cmd/spire-trust-sync-helper.go cmd/spire-trust-sync-helper/main.go
0 commit comments