Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating goreleaser yaml to fix deprecated options #252

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,30 @@ builds:
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"

dockers:
- binary: aws-iam-authenticator
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.scratch
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-scratch"
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}"
- binary: aws-iam-authenticator
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.alpine-3.6
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-alpine-3.6"
- binary: aws-iam-authenticator
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.alpine-3.7
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-alpine-3.7"
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-alpine"
- binary: aws-iam-authenticator
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.debian-jessie
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-debian-jessie"
- binary: aws-iam-authenticator
- binaries:
- aws-iam-authenticator
dockerfile: Dockerfile.debian-stretch
image_templates:
- "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-iam-authenticator:{{ .Tag }}-debian-stretch"
Expand All @@ -43,8 +48,9 @@ dockers:
snapshot:
name_template: "git-{{.ShortCommit}}"

archive:
format: binary
archives:
- id: bin
format: binary

release:
github:
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- docker

install:
- curl -s -L --retry 8 -o /tmp/goreleaser.tgz https://github.com/goreleaser/goreleaser/releases/download/v0.107.0/goreleaser_Linux_x86_64.tar.gz
- curl -s -L --retry 8 -o /tmp/goreleaser.tgz https://github.com/goreleaser/goreleaser/releases/download/v0.115.0/goreleaser_Linux_x86_64.tar.gz
- tar -xzvf /tmp/goreleaser.tgz -C /tmp/
- sudo mv /tmp/goreleaser /usr/local/bin

Expand Down