Skip to content

Commit

Permalink
Drop support for quay.io
Browse files Browse the repository at this point in the history
Having everything at GitHub should be fine enough, no need to maintain 2 registries.
  • Loading branch information
ccremer committed Jul 23, 2022
1 parent 4143ace commit 30cdb56
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 27 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USER }}
password: ${{ secrets.QUAY_IO_TOKEN }}

- name: Build changelog from PRs with labels
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v3
Expand Down
19 changes: 0 additions & 19 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ snapshot:
dockers:
- image_templates:
- "ghcr.io/ccremer/zfs-provisioner:v{{ .Version }}-amd64"
- "quay.io/ccremer/zfs-provisioner:v{{ .Version }}-amd64"

extra_files:
- docker/zfs.sh
Expand All @@ -42,7 +41,6 @@ dockers:

- image_templates:
- "ghcr.io/ccremer/zfs-provisioner:v{{ .Version }}-arm64"
- "quay.io/ccremer/zfs-provisioner:v{{ .Version }}-arm64"

extra_files:
- docker/zfs.sh
Expand All @@ -57,23 +55,6 @@ docker_manifests:
# For prereleases, updating `latest` and the floating tags of the major version does not make sense.
# Only the image for the exact version should be pushed.

# Quay.io
- name_template: "{{ if not .Prerelease }}quay.io/ccremer/zfs-provisioner:latest{{ end }}"
image_templates:
- "quay.io/ccremer/zfs-provisioner:v{{ .Version }}-amd64"
- "quay.io/ccremer/zfs-provisioner:v{{ .Version }}-arm64"

- name_template: "{{ if not .Prerelease }}quay.io/ccremer/zfs-provisioner:v{{ .Major }}{{ end }}"
image_templates:
- "quay.io/ccremer/zfs-provisioner:v{{ .Version }}-amd64"
- "quay.io/ccremer/zfs-provisioner:v{{ .Version }}-arm64"

- name_template: "quay.io/ccremer/zfs-provisioner:v{{ .Version }}"
image_templates:
- "quay.io/ccremer/zfs-provisioner:v{{ .Version }}-amd64"
- "quay.io/ccremer/zfs-provisioner:v{{ .Version }}-arm64"

# Docker.io
- name_template: "{{ if not .Prerelease }}ghcr.io/ccremer/zfs-provisioner:latest{{ end }}"
image_templates:
- "ghcr.io/ccremer/zfs-provisioner:v{{ .Version }}-amd64"
Expand Down
2 changes: 1 addition & 1 deletion Makefile.vars.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ zfs_dataset := $(zpool_name)/zfs-provisioner

binary ?= kubernetes-zfs-provisioner

IMAGE_REGISTRY ?= quay.io
IMAGE_REGISTRY ?= ghcr.io
IMAGE_REPOSITORY ?= $(IMAGE_REGISTRY)/ccremer/zfs-provisioner
IMAGE_TAG ?= latest

0 comments on commit 30cdb56

Please sign in to comment.