From 6bac207c9666d2c12cfe2c43db40d3874fef3045 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 7 Apr 2022 18:17:06 +0800 Subject: [PATCH 1/5] add the note for dockerconfig --- containers/beta-workflow.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/containers/beta-workflow.md b/containers/beta-workflow.md index 2c84588..5e8ecfc 100644 --- a/containers/beta-workflow.md +++ b/containers/beta-workflow.md @@ -147,7 +147,8 @@ preflight check container scan.connect.redhat.com/ospid-[PRODUCTION-project-ID]/ ### 8. Submit Results Running container policy checks against a container that passes all tests needed to submit to Red Hat: - + Note for dockerconfig, you can refer to [Authenticating to Registries](https://github.com/redhat-openshift-ecosystem/openshift-preflight#authenticating-to-registries). + *Non-Red Hat Container Registry* ``` preflight check container registry.example.org/[your-namespace]/[image-name]:[tag] \ From 53f39004bd2014a88c0a4932302ad5c7bcaa8af5 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 7 Apr 2022 18:19:20 +0800 Subject: [PATCH 2/5] add the note for dockerconfig --- containers/beta-workflow.md | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/beta-workflow.md b/containers/beta-workflow.md index 5e8ecfc..851b969 100644 --- a/containers/beta-workflow.md +++ b/containers/beta-workflow.md @@ -147,6 +147,7 @@ preflight check container scan.connect.redhat.com/ospid-[PRODUCTION-project-ID]/ ### 8. Submit Results Running container policy checks against a container that passes all tests needed to submit to Red Hat: + Note for dockerconfig, you can refer to [Authenticating to Registries](https://github.com/redhat-openshift-ecosystem/openshift-preflight#authenticating-to-registries). *Non-Red Hat Container Registry* From aab98a510a953af00638478b3b71cd70926f62c5 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 May 2022 10:56:33 +0800 Subject: [PATCH 3/5] add the project id issue in container trobuleshooting guide --- containers/troubleshooting.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/containers/troubleshooting.md b/containers/troubleshooting.md index efe0655..8218ead 100644 --- a/containers/troubleshooting.md +++ b/containers/troubleshooting.md @@ -17,7 +17,7 @@ ### Common Issues * [Authorization Errors](#authorizationerrors) * [File Not Found Errors](#filenotfound) - +* [Calling Remote API Errors](#callingremoteapierrors) ## RunAsNonRoot The certification tooling is verifying that the USER is declared in the dockerfile and is not one of the following: - USER root @@ -62,3 +62,7 @@ Possible causes: ## File Not Found Errors Possible causes: - You are not specifying the full path of the docker config file: please make sure you are using the full path, not the relative path. The file should only include the credentials for the image being certified. + +## Calling Remote API Errors +Possible causes: + - You are using the old opsid in --certification-project-id, you could find the project id in project link https://connect.redhat.com/projects/1234567890/overview From eb3c34e12a6bca7c159321c7e8f5d9c06befc5dd Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 May 2022 11:09:18 +0800 Subject: [PATCH 4/5] remove dockerconfig notes --- containers/beta-workflow.md | 1 - 1 file changed, 1 deletion(-) diff --git a/containers/beta-workflow.md b/containers/beta-workflow.md index 851b969..457a413 100644 --- a/containers/beta-workflow.md +++ b/containers/beta-workflow.md @@ -150,7 +150,6 @@ preflight check container scan.connect.redhat.com/ospid-[PRODUCTION-project-ID]/ Note for dockerconfig, you can refer to [Authenticating to Registries](https://github.com/redhat-openshift-ecosystem/openshift-preflight#authenticating-to-registries). - *Non-Red Hat Container Registry* ``` preflight check container registry.example.org/[your-namespace]/[image-name]:[tag] \ --submit \ From dd18dd7b6bc857acd8420bddfdda745f5d9b3a9d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 May 2022 11:10:34 +0800 Subject: [PATCH 5/5] remove dockerconfig notes --- containers/beta-workflow.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/containers/beta-workflow.md b/containers/beta-workflow.md index 457a413..9d03dfc 100644 --- a/containers/beta-workflow.md +++ b/containers/beta-workflow.md @@ -147,8 +147,6 @@ preflight check container scan.connect.redhat.com/ospid-[PRODUCTION-project-ID]/ ### 8. Submit Results Running container policy checks against a container that passes all tests needed to submit to Red Hat: - - Note for dockerconfig, you can refer to [Authenticating to Registries](https://github.com/redhat-openshift-ecosystem/openshift-preflight#authenticating-to-registries). ``` preflight check container registry.example.org/[your-namespace]/[image-name]:[tag] \