Skip to content

Commit

Permalink
Release container image
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaro Hayakawa <[email protected]>
  • Loading branch information
YutaroHayakawa committed May 20, 2024
1 parent 6cf4ad4 commit 31353ef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ archives:
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
dockers:
- image_templates:
- "ghcr.io/yutarohayakawa/gorad:{{ .Tag }}"
- "ghcr.io/yutarohayakawa/gorad:latest"
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM debian AS builder

RUN echo "interfaces: []" > /config.yaml

FROM scratch

COPY gorad /gorad
COPY gora /gora
COPY --from=builder /config.yaml /config.yaml

ENTRYPOINT ["/gorad", "-f", "/config.yaml"]

0 comments on commit 31353ef

Please sign in to comment.