Skip to content

Commit

Permalink
[sc-5530] add quay.io registry
Browse files Browse the repository at this point in the history
  • Loading branch information
steb-veksler committed Nov 9, 2022
1 parent bb79dc6 commit 19cd8e8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Docker Buildx
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
-
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
7 changes: 7 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ dockers:
build_flag_templates:
- --platform=linux/amd64
image_templates:
- 'quay.io/groundcover/{{ .ProjectName }}:{{ .Version }}-amd64'
- 'public.ecr.aws/groundcovercom/{{ .ProjectName }}:{{ .Version }}-amd64'
-
use: buildx
Expand All @@ -33,8 +34,14 @@ dockers:
build_flag_templates:
- --platform=linux/arm64/v8
image_templates:
- 'quay.io/groundcover/{{ .ProjectName }}:{{ .Version }}-arm64v8'
- 'public.ecr.aws/groundcovercom/{{ .ProjectName }}:{{ .Version }}-arm64v8'
docker_manifests:
-
name_template: 'quay.io/groundcover/{{ .ProjectName }}:{{ .Version }}'
image_templates:
- 'quay.io/groundcover/{{ .ProjectName }}:{{ .Version }}-amd64'
- 'quay.io/groundcover/{{ .ProjectName }}:{{ .Version }}-arm64v8'
-
name_template: 'public.ecr.aws/groundcovercom/{{ .ProjectName }}:{{ .Version }}'
image_templates:
Expand Down

0 comments on commit 19cd8e8

Please sign in to comment.