fix: remove private registry from docker builds, push only to DockerHub

The BuildKit builder cannot push to the insecure HTTP registry at
registry.viktorbarzin.lan:5050 because buildkit_config is not being
applied by the plugin. Simplified to DockerHub-only push for now.
Private registry caching and push can be re-added once buildkit_config
issue is resolved.
This commit is contained in:
Viktor Barzin 2026-02-28 19:15:54 +00:00
parent 79775fa2cc
commit 140f48c6ee
2 changed files with 2 additions and 13 deletions

View file

@ -15,9 +15,7 @@ steps:
username: "viktorbarzin"
password:
from_secret: dockerhub-pat
repo:
- viktorbarzin/infra
- registry.viktorbarzin.lan:5050/infra
repo: viktorbarzin/infra
logins:
- registry: https://index.docker.io/v1/
username: viktorbarzin
@ -26,5 +24,3 @@ steps:
dockerfile: cli/Dockerfile
context: cli
auto_tag: true
insecure: true
buildkit_config: "[registry.\"registry.viktorbarzin.lan:5050\"]\n http = true\n insecure = true\n"

View file

@ -16,9 +16,7 @@ steps:
username: "viktorbarzin"
password:
from_secret: dockerhub-pat
repo:
- viktorbarzin/f1-stream
- registry.viktorbarzin.lan:5050/f1-stream
repo: viktorbarzin/f1-stream
logins:
- registry: https://index.docker.io/v1/
username: viktorbarzin
@ -29,11 +27,6 @@ steps:
platforms: linux/amd64
provenance: false
tags: latest
cache_images: registry.viktorbarzin.lan:5050/f1-stream:buildcache
buildkit_config: |
[registry."registry.viktorbarzin.lan:5050"]
http = true
insecure = true
- name: deploy
image: bitnami/kubectl