Skip to content

Commit

Permalink
changed repo from quay (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
transient1 authored Feb 10, 2023
1 parent 5501993 commit d76b4a9
Showing 1 changed file with 31 additions and 22 deletions.
53 changes: 31 additions & 22 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,69 @@ before:
hooks:
- go mod tidy
builds:
- ldflags:
- id: saffire
ldflags:
- -X main.version={{.Version}} -X main.commit={{.Commit}} -s -w
goarch:
- amd64
- arm
- arm64
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- linux
- darwin
goarm:
- 6
- 7
changelog:
sort: asc
filters:
exclude:
- '^docs'
- '^test'
dockers:
- image_templates:
- "quay.io/fairwinds/saffire:{{ .Tag }}-amd64"
- "quay.io/fairwinds/saffire:v{{ .Major }}-amd64"
- "quay.io/fairwinds/saffire:v{{ .Major }}.{{ .Minor }}-amd64"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:{{ .FullCommit }}-amd64"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:{{ .Tag }}-amd64"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}-amd64"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}.{{ .Minor }}-amd64"
use: buildx
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/amd64"
- image_templates:
- "quay.io/fairwinds/saffire:{{ .Tag }}-arm64v8"
- "quay.io/fairwinds/saffire:v{{ .Major }}-arm64v8"
- "quay.io/fairwinds/saffire:v{{ .Major }}.{{ .Minor }}-arm64v8"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:{{ .Tag }}-arm64v8"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}-arm64v8"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}.{{ .Minor }}-arm64v8"
use: buildx
goarch: arm64
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/arm64/v8"
- image_templates:
- "quay.io/fairwinds/saffire:{{ .Tag }}-armv7"
- "quay.io/fairwinds/saffire:v{{ .Major }}-armv7"
- "quay.io/fairwinds/saffire:v{{ .Major }}.{{ .Minor }}-armv7"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:{{ .Tag }}-armv7"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}-armv7"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}.{{ .Minor }}-armv7"
use: buildx
goarch: arm64
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/arm/v7"
docker_manifests:
- name_template: quay.io/fairwinds/saffire:{{ .Tag }}
- name_template: us-docker.pkg.dev/fairwinds-ops/oss/saffire:{{ .Tag }}
image_templates:
- "quay.io/fairwinds/saffire:{{ .Tag }}-amd64"
- "quay.io/fairwinds/saffire:{{ .Tag }}-arm64v8"
- "quay.io/fairwinds/saffire:{{ .Tag }}-armv7"
- name_template: quay.io/fairwinds/saffire:v{{ .Major }}
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:{{ .Tag }}-amd64"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:{{ .Tag }}-arm64v8"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:{{ .Tag }}-armv7"
- name_template: us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}
image_templates:
- "quay.io/fairwinds/saffire:v{{ .Major }}-amd64"
- "quay.io/fairwinds/saffire:v{{ .Major }}-arm64v8"
- "quay.io/fairwinds/saffire:v{{ .Major }}-armv7"
- name_template: quay.io/fairwinds/saffire:v{{ .Major }}.{{ .Minor }}
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}-amd64"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}-arm64v8"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}-armv7"
- name_template: us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}.{{ .Minor }}
image_templates:
- "quay.io/fairwinds/saffire:v{{ .Major }}.{{ .Minor }}-amd64"
- "quay.io/fairwinds/saffire:v{{ .Major }}.{{ .Minor }}-arm64v8"
- "quay.io/fairwinds/saffire:v{{ .Major }}.{{ .Minor }}-armv7"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}.{{ .Minor }}-amd64"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}.{{ .Minor }}-arm64v8"
- "us-docker.pkg.dev/fairwinds-ops/oss/saffire:v{{ .Major }}.{{ .Minor }}-armv7"

0 comments on commit d76b4a9

Please sign in to comment.