tube/.goreleaser.yml

59 lines
1.3 KiB
YAML
Raw Permalink Normal View History

---
builds:
- id: tube
binary: tube
2023-01-21 04:42:17 +03:00
main: ./cmd/tube
tags:
- embed
- static_build
ldflags: >-
-w
-X git.mills.io/prologic/tube.Version={{.Version}}
-X git.mills.io/prologic/tube.Commit={{.Commit}}
2023-01-21 04:41:08 +03:00
-X git.mills.io/prologic/tube.Build={{.Date}}
env:
- CGO_ENABLED=0
goos:
- windows
- freebsd
- darwin
- linux
goarch:
- amd64
- arm64
dockers:
- image_templates: ["prologic/tube:{{ .Version }}-amd64"]
use: buildx
dockerfile: Dockerfile.goreleaser
build_flag_templates:
- "--platform=linux/amd64"
extra_files:
- ".dockerfiles/entrypoint.sh"
- ".dockerfiles/config.json"
- image_templates: ["prologic/tube:{{ .Version }}-arm64v8"]
use: buildx
goarch: arm64
dockerfile: Dockerfile.goreleaser
build_flag_templates:
- "--platform=linux/arm64/v8"
extra_files:
- ".dockerfiles/entrypoint.sh"
- ".dockerfiles/config.json"
docker_manifests:
- name_template: prologic/tube:{{ .Version }}
image_templates:
- prologic/tube:{{ .Version }}-amd64
- prologic/tube:{{ .Version }}-arm64v8
2020-04-01 16:01:44 +03:00
signs:
- artifacts: checksum
release:
gitea:
owner: prologic
name: tube
draft: false
gitea_urls:
api: https://git.mills.io/api/v1/