Skip to content

Commit

Permalink
manifests: use the community maintained AlmaLinux toolbox
Browse files Browse the repository at this point in the history
This replaces the default ubi9 toolbox image
  • Loading branch information
karelvanhecke committed May 29, 2024
1 parent fb42b7a commit 29c969f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions almalinux-bootc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,14 @@ add-files:
- /etc/containers/policy.json
- - containers-registry.yaml
- /etc/containers/registries.d/ghcr.io-karelvanhecke-bootc.yaml
- - containers-registry-toolbox.yaml
- /etc/containers/registries.d/quay.io-toolbx-images.yaml
- - cosign-toolbox.pub
- /etc/pki/containers/quay.io-toolbx-images.pub

postprocess:
- |
#!/usr/bin/env bash
set -xeo pipefail
sed -i 's,image = "registry.access.redhat.com/ubi9/toolbox:latest",image = "quay.io/toolbx-images/almalinux-toolbox:9",' /etc/containers/toolbox.conf
9 changes: 9 additions & 0 deletions containers-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@
]
}
],
"quay.io/toolbx-images": [
{
"type": "sigstoreSigned",
"keyPath": "/etc/pki/containers/quay.io-toolbx-images.pub",
"signedIdentity": {
"type": "matchRepository"
}
}
],
"": [
{
"type": "insecureAcceptAnything"
Expand Down
3 changes: 3 additions & 0 deletions containers-registry-toolbox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker:
quay.io/toolbx-images:
use-sigstore-attachments: true
4 changes: 4 additions & 0 deletions cosign-toolbox.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEQr63Nsc66mA3oGMArrQPm8/AkuTO
K+ZrK3WCWzx00LW5K1qu+BS3U4eyMmXaFKIsX69PEFZWzXKy9psum8wj9Q==
-----END PUBLIC KEY-----

0 comments on commit 29c969f

Please sign in to comment.