[OpenShift Preflight](https://github.com/redhat-openshift-ecosystem/openshift-preflight) is a tool to check if container images are valid for OpenShift. https://github.com/stackabletech/issues/issues/337 also features the preflight check, have a look to see how to run it for ZK. The binary can be downloaded from GitHub ## Acceptance Criteria - [x] the docker-images and operator-templating repository have a github action that runs preflight to check if a container image is valid. - [ ] ~~The image is checked before it is pushed.~~ Difficult to do because the preflight can only check already published images - [ ] ~~The check is required for PRs to merge.~~ Difficult to do with our current structure in the CI. But it's fine, the preflight check is quite basic. ## Steps - [x] add a GH action as a test to one repo (maybe ZK) - [x] if if works, add it to operator templating - [x] Also add it to docker-images: ~~https://github.com/stackabletech/docker-images/pull/334~~ https://github.com/stackabletech/docker-images/pull/339
OpenShift Preflight is a tool to check if container images are valid for OpenShift.
#337 also features the preflight check, have a look to see how to run it for ZK. The binary can be downloaded from GitHub
Acceptance Criteria
The image is checked before it is pushed.Difficult to do because the preflight can only check already published imagesThe check is required for PRs to merge.Difficult to do with our current structure in the CI. But it's fine, the preflight check is quite basic.Steps
Feat/preflight check docker-images#334Refactor image building and add preflight checks. docker-images#339