cic-dw/.goreleaser.yaml

32 lines
529 B
YAML

builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
main: ./cmd
ldflags:
- -s -w
archives:
- format: tar.gz
files:
- LICENSE
- config.toml
- queries/*
- migrations/*
dockers:
- goos: linux
goarch: amd64
ids:
- cic-dw
image_templates:
- "ghcr.io/grassrootseconomics/cic-dw/cic-dw:latest"
- "ghcr.io/grassrootseconomics/cic-dw/cic-dw:{{ .Tag }}"
dockerfile: Dockerfile
extra_files:
- config.toml
- queries