Skip to content

Commit

Permalink
Merge pull request #99 from Tantalor93/docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondřej Benkovský authored Mar 28, 2023
2 parents 3ee3dd1 + 39f1ea1 commit 3b4b196
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ brews:
name: homebrew-dnspyre
folder: Formula
homepage: https://github.com/Tantalor93/dnspyre
dockers:
- use: buildx
id: dnspyre
dockerfile: "Dockerfile-goreleaser"
image_templates:
- "tantalor93/dnspyre:{{ .Tag }}"
- "tantalor93/dnspyre:v{{ .Major }}"
- "tantalor93/dnspyre:v{{ .Major }}.{{ .Minor }}"
- "tantalor93/dnspyre:latest"
3 changes: 3 additions & 0 deletions Dockerfile-goreleaser
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM scratch
COPY dnspyre /dnspyre
ENTRYPOINT ["/dnspyre"]

0 comments on commit 3b4b196

Please sign in to comment.