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:
parent
39e3fae488
commit
2d3be0ca74
2 changed files with 2 additions and 13 deletions
|
|
@ -15,9 +15,7 @@ steps:
|
||||||
username: "viktorbarzin"
|
username: "viktorbarzin"
|
||||||
password:
|
password:
|
||||||
from_secret: dockerhub-pat
|
from_secret: dockerhub-pat
|
||||||
repo:
|
repo: viktorbarzin/infra
|
||||||
- viktorbarzin/infra
|
|
||||||
- registry.viktorbarzin.lan:5050/infra
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://index.docker.io/v1/
|
- registry: https://index.docker.io/v1/
|
||||||
username: viktorbarzin
|
username: viktorbarzin
|
||||||
|
|
@ -26,5 +24,3 @@ steps:
|
||||||
dockerfile: cli/Dockerfile
|
dockerfile: cli/Dockerfile
|
||||||
context: cli
|
context: cli
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
insecure: true
|
|
||||||
buildkit_config: "[registry.\"registry.viktorbarzin.lan:5050\"]\n http = true\n insecure = true\n"
|
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,7 @@ steps:
|
||||||
username: "viktorbarzin"
|
username: "viktorbarzin"
|
||||||
password:
|
password:
|
||||||
from_secret: dockerhub-pat
|
from_secret: dockerhub-pat
|
||||||
repo:
|
repo: viktorbarzin/f1-stream
|
||||||
- viktorbarzin/f1-stream
|
|
||||||
- registry.viktorbarzin.lan:5050/f1-stream
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://index.docker.io/v1/
|
- registry: https://index.docker.io/v1/
|
||||||
username: viktorbarzin
|
username: viktorbarzin
|
||||||
|
|
@ -29,11 +27,6 @@ steps:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
provenance: false
|
provenance: false
|
||||||
tags: latest
|
tags: latest
|
||||||
cache_images: registry.viktorbarzin.lan:5050/f1-stream:buildcache
|
|
||||||
buildkit_config: |
|
|
||||||
[registry."registry.viktorbarzin.lan:5050"]
|
|
||||||
http = true
|
|
||||||
insecure = true
|
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: bitnami/kubectl
|
image: bitnami/kubectl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue