File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/3-revenge-of-the-automated-testing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 92
92
93
93

94
94
95
- 5. Let's verify the signed image with the public key. Make sure you use the right `APP VERSION` for the image. (`1.3.1 ` in this case)
95
+ 5. Let's verify the signed image with the public key. Make sure you use the right `APP VERSION` for the image. (`1.2.0 ` in this case)
96
96
97
97
```bash
98
98
cd /projects/pet-battle-api
99
99
oc registry login $(oc registry info) --insecure=true
100
- cosign verify --key k8s://<TEAM_NAME>-ci-cd/<TEAM_NAME>-cosign default-route-openshift-image-registry.<CLUSTER_DOMAIN>/<TEAM_NAME>-test/pet-battle-api:1.3.1
100
+ cosign verify --key k8s://<TEAM_NAME>-ci-cd/<TEAM_NAME>-cosign default-route-openshift-image-registry.<CLUSTER_DOMAIN>/<TEAM_NAME>-test/pet-battle-api:1.2.0
101
101
```
102
102
103
103
The output should be like:
104
104
105
105
<div class="highlight" style="background: #f7f7f7">
106
106
<pre><code class="language-bash">
107
- Verification for default-route-openshift-image-registry.<CLUSTER_DOMAIN>/<TEAM_NAME>-test/pet-battle-api:1.3.1 --
107
+ Verification for default-route-openshift-image-registry.<CLUSTER_DOMAIN>/<TEAM_NAME>-test/pet-battle-api:1.2.0 --
108
108
The following checks were performed on each of these signatures:
109
109
- The cosign claims were validated
110
110
- The signatures were verified against the specified public key
You can’t perform that action at this time.
0 commit comments