2020-03-21 01:20:16 +03:00
|
|
|
---
|
|
|
|
builds:
|
2022-08-01 06:22:17 +03:00
|
|
|
- id: tube
|
|
|
|
binary: tube
|
2023-01-21 04:42:17 +03:00
|
|
|
main: ./cmd/tube
|
2022-08-01 06:22:17 +03:00
|
|
|
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}}
|
2020-03-21 01:20:16 +03:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- windows
|
|
|
|
- freebsd
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
2022-08-01 06:22:17 +03:00
|
|
|
|
|
|
|
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:
|
2022-08-01 06:22:17 +03:00
|
|
|
- artifacts: checksum
|
|
|
|
release:
|
|
|
|
gitea:
|
|
|
|
owner: prologic
|
|
|
|
name: tube
|
|
|
|
draft: false
|
|
|
|
gitea_urls:
|
|
|
|
api: https://git.mills.io/api/v1/
|