40 lines
947 B
Bash
40 lines
947 B
Bash
# Zot / OCI registry. Do not include a path in REGISTRY.
|
|
REGISTRY=zot.linuxiarz.pl
|
|
IMAGE_NAME=rustproxy
|
|
|
|
# Alternative shorthand instead of REGISTRY + IMAGE_NAME:
|
|
# OCI_IMAGE=zot.example.net/network/rustproxy
|
|
|
|
# Zot Basic Auth / htpasswd or token credentials.
|
|
OCI_USERNAME=admin
|
|
OCI_PASSWORD=
|
|
# OCI_TOKEN=
|
|
|
|
# RouterOS targets used by this helper.
|
|
BUILD_PLATFORMS=linux/amd64,linux/arm64
|
|
#BUILD_PLATFORMS=linux/amd64
|
|
BUILDER=rustproxy
|
|
|
|
# RustProxy currently requires Rust 1.88.
|
|
RUST_VERSION=1.88
|
|
DEBIAN_SUITE=trixie
|
|
|
|
# Empty OCI_TAG means the script uses Cargo.toml package version.
|
|
OCI_TAG=
|
|
OCI_LATEST=1
|
|
OCI_EXTRA_TAGS=
|
|
|
|
# Build behavior.
|
|
OCI_PULL=1
|
|
OCI_NO_CACHE=0
|
|
OCI_VERIFY=1
|
|
OCI_PROGRESS=plain
|
|
|
|
# 1 stores BuildKit cache in Zot as IMAGE_NAME:buildcache.
|
|
# Recommended for CI/ephemeral buildx builders.
|
|
OCI_REGISTRY_CACHE=0
|
|
|
|
# Optional BuildKit config, useful for an internal Zot with a custom CA.
|
|
# BUILDER_CONFIG=/etc/buildkit/buildkitd.toml
|
|
|