generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser-devel.yaml
30 lines (30 loc) · 1023 Bytes
/
.goreleaser-devel.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
project_name: remote-work-processor
snapshot:
name_template: "{{ incminor .Version }}-{{ .ShortCommit }}"
builds:
- goos:
- linux
goarch:
- amd64
main: ./cmd/remote-work-processor/main.go
binary: remote-work-processor
ldflags: -s -w -X main.Version={{.Version}} -X main.BuildDate={{.Date}}
env:
- CGO_ENABLED=0
dockers:
- dockerfile: Dockerfile
image_templates:
- "ghcr.io/sap/{{ .ProjectName }}-devel:{{ .Version }}"
use: buildx
goos: linux
goarch: amd64
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.created={{ .Date }}
- --label=org.opencontainers.image.title={{ .ProjectName }}-devel
- --label=org.opencontainers.image.version={{ .ShortCommit }}
- --label=org.opencontainers.image.revision=test-{{ .FullCommit }}
- --label=org.opencontainers.image.description={{ .ProjectName }}-devel {{ .ShortCommit }}
- --label=org.opencontainers.image.source=https://github.com/sap/{{ .ProjectName }}
release:
disable: true