ci: add buildkit_config CA trust for artifactapi push #6
Reference in New Issue
Block a user
Delete Branch "benvin/buildx-ca-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The buildx
docker-bootapipush step runs buildkitd in its own container. buildkitd must trust artifactapi's internal (Vault) CA to push over TLS. The plugin image bakes the CA at/etc/docker/certs.d/artifactapi.k8s.syd1.au.unkin.net/ca.crt, but buildx does not pass it to the builder unlessbuildkit_configreferences it. This is the same fix proven in jellyfin-ha v0.1.2.Changes
settings.buildkit_configto thedocker-bootapipush step in.woodpecker/docker.yaml, pointing the buildkit registry config at the in-image artifactapi CA cert.