This repository was archived by the owner on Sep 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -47,17 +47,14 @@ build-package:
4747 $(CONTAINER_ENGINE ) build -t $(PKO_IMG ) :$(PKO_IMAGETAG ) -f $(join $(CURDIR ) ,/hack/hypershift/package/hypershift-logging-operator.Containerfile) . && \
4848 $(CONTAINER_ENGINE ) tag $(PKO_IMG ) :$(PKO_IMAGETAG ) $(PKO_IMG ) :latest
4949
50- .PHONY : skopeo -push
51- skopeo -push-package :
50+ .PHONY : podman -push
51+ podman -push-package :
5252 @if [[ -z $$ QUAY_USER || -z $$ QUAY_TOKEN ]]; then \
5353 echo " You must set QUAY_USER and QUAY_TOKEN environment variables" ; \
5454 echo " ex: make QUAY_USER=value QUAY_TOKEN=value $@ " ; \
5555 exit 1 ; \
5656 fi
5757 # QUAY_USER and QUAY_TOKEN are supplied as env vars
58- skopeo copy --dest-creds " ${QUAY_USER} :${QUAY_TOKEN} " \
59- " docker-daemon:${PKO_IMG} :${PKO_IMAGETAG} " \
60- " docker://${PKO_IMG} :latest"
61- skopeo copy --dest-creds " ${QUAY_USER} :${QUAY_TOKEN} " \
62- " docker-daemon:${PKO_IMG} :${PKO_IMAGETAG} " \
63- " docker://${PKO_IMG} :${PKO_IMAGETAG} "
58+ podman login -u=" ${QUAY_USER} " -p=" ${QUAY_TOKEN} " quay.io
59+ podman push $(PKO_IMG ) :$(PKO_IMAGETAG )
60+ podman push $(PKO_IMG ) :latest
Original file line number Diff line number Diff line change @@ -90,4 +90,4 @@ if image_exists_in_repo "$IMAGE_URI"; then
9090fi
9191
9292# build the image and push the image
93- make -C $( dirname $0 ) /../ build-package skopeo -push-package
93+ make -C $( dirname $0 ) /../ build-package podman -push-package
You can’t perform that action at this time.
0 commit comments