Freebsd and Windows added to the OSs arm and arm64 added to the Archs Added Docker
This commit is contained in:
parent
1ec586f409
commit
c506fa751b
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -20,12 +20,14 @@ jobs:
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.13.x
|
||||
-
|
||||
name: Docker login
|
||||
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
||||
-
|
||||
name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v1
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
key: ${{ secrets.YOUR_PRIVATE_KEY }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@ -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
3
Dockerfile.goreleaser
Normal file
@ -0,0 +1,3 @@
|
||||
FROM scratch
|
||||
COPY mempool /
|
||||
ENTRYPOINT ["/mempool"]
|
||||
Loading…
Reference in New Issue
Block a user