Expand releases

Freebsd and Windows added to the OSs
arm and arm64 added to the Archs
Added Docker
This commit is contained in:
Gustavo Chain 2020-02-27 18:47:30 +01:00
parent 1ec586f409
commit 187d5aa88a
No known key found for this signature in database
GPG Key ID: DA7C1746DC118A46
3 changed files with 31 additions and 3 deletions

View File

@ -29,3 +29,5 @@ jobs:
key: ${{ secrets.YOUR_PRIVATE_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

View File

@ -1,15 +1,38 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- env:
- CGO_ENABLED=0
-
env:
- CGO_ENABLED=0
goos:
- linux
- freebsd
- darwin
- windows
goarch:
- amd64
- 386
- arm
- arm64
dockers:
-
dockerfile: Dockerfile.goreleaser
image_templates:
- "gchaincl/mempool:latest"
- "gchaincl/mempool:{{ .Tag }}"
archives:
- replacements:
darwin: Darwin
linux: Linux
freebsd: FreeBSD
darwin: Darwin
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:

3
Dockerfile.goreleaser Normal file
View File

@ -0,0 +1,3 @@
FROM scratch
COPY mempool /
ENTRYPOINT ["/mempool"]