0.36.12: docker fixes

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-12 13:51:34 +01:00
1 parent 76f42b5864
commit f8fc228af1
5 files changed
+50 -26

No files matched your search

+11 -11
View File
@@ -43,18 +43,18 @@ cp integrations/routeros-oci-build/.env.routeros.example \
integrations/routeros-oci-build/.env
```
Then edit the Zot address and credentials.
Then edit the oci address and credentials.
## Zot example
## oci example
```env
REGISTRY=zot.example.net
REGISTRY=oci.example.net
IMAGE_NAME=network/rustproxy
OCI_USERNAME=builder
OCI_PASSWORD=secret
BUILD_PLATFORMS=linux/amd64,linux/arm64
RUST_VERSION=1.88
RUST_VERSION=1.99.1
DEBIAN_SUITE=trixie
```
@@ -80,9 +80,9 @@ ENV_FILE=integrations/routeros-oci-build/.env \
For example, with RustProxy version `0.36.12` and the defaults this publishes:
```text
zot.example.net/network/rustproxy:0.36.12
zot.example.net/network/rustproxy:latest
zot.example.net/network/rustproxy:routeros
oci.example.net/network/rustproxy:0.36.12
oci.example.net/network/rustproxy:latest
oci.example.net/network/rustproxy:routeros
```
Each tag points to the same amd64 + arm64 OCI manifest.
@@ -112,13 +112,13 @@ For short-lived CI builders, enable registry cache:
OCI_REGISTRY_CACHE=1
```
It is stored in Zot as:
It is stored in oci as:
```text
zot.example.net/network/rustproxy:buildcache
oci.example.net/network/rustproxy:buildcache
```
## Custom/self-signed Zot CA
## Custom/self-signed oci CA
Point `BUILDER_CONFIG` to a BuildKit configuration that trusts the registry CA, for example:
@@ -132,7 +132,7 @@ Docker itself must also trust the registry CA for `docker login` and manifest in
- Docker Engine
- Docker Buildx
- access to the Zot/OCI registry
- access to the oci/OCI registry
- an existing RustProxy `Cargo.lock`
Do not add an ARM-native Rust builder stage. Doing that would put `rustc` and Cargo back under QEMU on an amd64 host.