2021-07-14 11:23:30 +00:00
|
|
|
project_name: pingbot
|
|
|
|
|
2021-07-14 09:52:50 +00:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod tidy
|
|
|
|
|
|
|
|
builds:
|
2021-11-13 12:31:50 +00:00
|
|
|
- main: ./cmd/pingbot
|
|
|
|
binary: '{{ .ProjectName }}.out'
|
|
|
|
|
|
|
|
goos:
|
2021-07-14 09:52:50 +00:00
|
|
|
- linux
|
2021-11-12 14:27:11 +00:00
|
|
|
- freebsd
|
2021-07-14 09:52:50 +00:00
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-11-12 14:27:11 +00:00
|
|
|
- arm64
|
2021-07-14 09:52:50 +00:00
|
|
|
|
2021-07-26 09:32:50 +00:00
|
|
|
ldflags:
|
|
|
|
- -s -w
|
2021-11-10 13:38:54 +00:00
|
|
|
- -X github.com/medzikuser/go-pingbot/config.Version={{ .RawVersion }}
|
|
|
|
- -X github.com/medzikuser/go-pingbot/config.Build={{ .Date }}
|
2021-07-26 09:32:50 +00:00
|
|
|
|
2021-07-14 09:52:50 +00:00
|
|
|
archives:
|
2021-09-01 12:49:56 +00:00
|
|
|
- format: tar.xz
|
2021-07-14 09:52:50 +00:00
|
|
|
|
|
|
|
files:
|
2021-09-01 12:49:56 +00:00
|
|
|
- schema.env
|
2021-07-29 18:51:15 +00:00
|
|
|
- config.schema.toml
|
2021-07-31 20:59:43 +00:00
|
|
|
- README.md
|
2021-08-17 21:26:19 +00:00
|
|
|
- LICENSE
|
2021-08-29 10:19:54 +00:00
|
|
|
- start.sh
|
2021-07-14 09:52:50 +00:00
|
|
|
|
|
|
|
checksum:
|
2021-11-10 13:38:54 +00:00
|
|
|
name_template: 'checksums.txt'
|
2021-07-26 09:32:50 +00:00
|
|
|
|
2021-11-10 13:38:54 +00:00
|
|
|
algorithm: sha256
|
2021-10-19 21:20:25 +00:00
|
|
|
|
|
|
|
dockers:
|
|
|
|
- id: amd64
|
|
|
|
|
|
|
|
goos: linux
|
|
|
|
|
|
|
|
goarch: amd64
|
|
|
|
|
|
|
|
goarm: ''
|
|
|
|
|
|
|
|
image_templates:
|
2021-11-10 13:38:54 +00:00
|
|
|
- "medzik/pingbot:latest"
|
|
|
|
- "medzik/pingbot:{{ .Tag }}"
|
|
|
|
- "medzik/pingbot:v{{ .Major }}"
|
|
|
|
- "medzik/pingbot:v{{ .Major }}.{{ .Minor }}"
|
2021-10-19 21:20:25 +00:00
|
|
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
|
|
|
use: docker
|
|
|
|
|
|
|
|
build_flag_templates:
|
2021-11-10 13:38:54 +00:00
|
|
|
- "--pull"
|
|
|
|
- "--label=org.opencontainers.image.created={{ .Date }}"
|
|
|
|
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
|
|
|
|
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
|
|
|
|
- "--label=org.opencontainers.image.version={{ .Version }}"
|
2021-10-19 21:20:25 +00:00
|
|
|
|
|
|
|
extra_files:
|
2021-11-10 13:38:54 +00:00
|
|
|
- start.sh
|