Commit 9eeec06
committed
ci: scope the PR path to the ci-temp-images robot
Review feedback: the PR path should use the narrowly-scoped credential, not
the one that publishes releases.
Correct, and it applies to the build job as well as the tests. Everything on
this path writes exactly one repository, quay.io/kairos/ci-temp-images: the
factory pushes the image under test there, and reusable-qemu-test pulls it
back and pushes a bundles-test image alongside it. The kairos+prci robot has
Write on that repository and nothing else, which is the whole requirement.
QUAY_USERNAME/QUAY_PASSWORD is the credential release.yaml uses to publish
permanent images to quay.io/kairos/<flavor>. Sharing it with a path that
builds contributor code was already more exposure than the work needed, and
it becomes the difference between a bounded and an unbounded leak once
kairos#4307 makes that path reachable from a fork.
Signed-off-by: Mauro Morales <contact@mauromorales.com>1 parent 43c0b6f commit 9eeec06
1 file changed
Lines changed: 18 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | | - | |
61 | | - | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| |||
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
92 | 98 | | |
93 | | - | |
94 | | - | |
| 99 | + | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| |||
0 commit comments