bcgov / quickstart-openshift

QuickStart template targeted for OpenShift.
https://quickstart-openshift-test-frontend.apps.silver.devops.gov.bc.ca/
Apache License 2.0
29 stars 3 forks source link

feat: pre-deletions and SHA checks in builder action #2033

Closed DerekRoberts closed 1 month ago

DerekRoberts commented 1 month ago

There have been problems with stale images being deployed. In a half-baked effort to solve this we can delete an image before replacing it. This will hopefully cause rebuilt images to always refresh. ...but it's a shot in the dark.

Also check SHAs before and after replacing an image. If they match, fail the job.

DerekRoberts commented 1 month ago

https://github.com/bcgov-nr/action-builder-ghcr/pull/56 https://github.com/bcgov-nr/action-builder-ghcr/pull/57