539bbc0706
The buildx docker-container builder runs buildkitd in its own container and performs the push. It needs the artifactapi internal (Vault) CA via buildkit_config even though the plugin image already trusts it. Point the builder at the in-image CA baked at /etc/docker/certs.d/<registry>/ca.crt.
17 lines
507 B
YAML
17 lines
507 B
YAML
when:
|
|
- event: tag
|
|
ref: refs/tags/v*
|
|
|
|
steps:
|
|
- name: docker
|
|
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/plugin-docker-buildx:latest
|
|
settings:
|
|
registry: artifactapi.k8s.syd1.au.unkin.net
|
|
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/age-api
|
|
buildkit_config: |
|
|
[registry."artifactapi.k8s.syd1.au.unkin.net"]
|
|
ca = ["/etc/docker/certs.d/artifactapi.k8s.syd1.au.unkin.net/ca.crt"]
|
|
tags:
|
|
- ${CI_COMMIT_TAG}
|
|
- latest
|