Closed jpopelka closed 3 years ago
:+1:
prod-1
So adding the tag via Quay.io (API) probably won't work, because the new tag has a different manifest digest, which is what the k8s/openshift image stream points to. And I don't quite understand why, because when I'm adding a tag (in tags tab, Options->Add New Tag), it says "Add Tag to Manifest sha256:abcxyz", but then the created tag has completely new/different manifest ???
On the other hand, tagging the image locally and pushing it does not change the manifest digest, so that can still be the way how to achieve this.
tagging the image locally and pushing it does not change the manifest digest, so that can still be the way how to achieve this.
I played with pulling/tagging/pushing images via podman/docker in the action, but wasn't able to make it work.
But someone/something can purge them from time to time, if ever needed.
This should keep the previous image in the image repository in case we need to rollback, or redeploy (before importing the new image): https://github.com/packit/deployment/pull/208#issuecomment-842989232