From d76b4a99a54a46e51229338e32c0f0ae2e509456 Mon Sep 17 00:00:00 2001 From: Stevie <4719798+transient1@users.noreply.github.com> Date: Fri, 10 Feb 2023 11:02:46 -0500 Subject: [PATCH] changed repo from quay (#78) --- .goreleaser.yml | 53 +++++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 19fb7da..48cb1af 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,7 +2,8 @@ before: hooks: - go mod tidy builds: - - ldflags: + - id: saffire + ldflags: - -X main.version={{.Version}} -X main.commit={{.Commit}} -s -w goarch: - amd64 @@ -10,52 +11,60 @@ builds: - 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"