Skip to content

Commit

Permalink
Update to quay.io in Makefile (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Jul 25, 2023
1 parent 73fc324 commit ffa4d22
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
#
# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
# nginx/nginx-ingress-operator-bundle:$VERSION and nginx/nginx-ingress-operator-catalog:$VERSION.
IMAGE_TAG_BASE ?= nginx/nginx-ingress-operator
IMAGE_TAG_BASE ?= quay.io/nginx/nginx-ingress-operator

# BUNDLE_IMG defines the image:tag used for the bundle.
# You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=<some-registry>/<project-name-bundle>:<tag>)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --leader-election-id=nginx-ingress-operator
image: nginx/nginx-ingress-operator:1.5.0
image: quay.io/nginx/nginx-ingress-operator:1.5.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: nginx/nginx-ingress-operator
newName: quay.io/nginx/nginx-ingress-operator
newTag: 1.5.0
2 changes: 1 addition & 1 deletion hack/get_image_info.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

image=$1
image="${1#quay.io/}"
version=$2

response=$(curl -sSfL -w '%{header_json}' -H "Accept: application/vnd.oci.image.index.v1+json" "https://quay.io/v2/${image}/manifests/${version}" | jq -s)
Expand Down

0 comments on commit ffa4d22

Please sign in to comment.