forked from amazon-archives/aws-service-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
50 lines (44 loc) · 1019 Bytes
/
.goreleaser.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
project_name: aws-service-operator
# This will be useful in making sure that all files are updated before
# a release is made.
before:
hooks:
- make codegen
# Builds the binary for each platform
builds:
- binary: aws-service-operator
main: ./cmd/aws-service-operator/
goos:
- darwin
- windows
- linux
goarch:
- amd64
# Will package downloadable archives to share on Github
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
format: tar.gz
format_overrides:
- goos: windows
format: zip
# Use short hash for commit ldflags
git:
short_hash: true
# Release will configure where the GitHub release is handled
release:
github:
owner: awslabs
name: aws-service-operator
draft: true
prerelease: true
# Creates a Docker container with the operator packaged into it for distribution
dockers:
- image: awsserviceoperator/aws-service-operator
binary: aws-service-operator
dockerfile: Dockerfile
tag_templates:
- "{{ .Tag }}"
- "latest"