[ci skip] add BuildKit layer caching and dual-push to f1-stream pipeline
This commit is contained in:
parent
4a0fc18c60
commit
c7bb324f64
1 changed files with 14 additions and 1 deletions
|
|
@ -16,12 +16,25 @@ steps:
|
||||||
username: "viktorbarzin"
|
username: "viktorbarzin"
|
||||||
password:
|
password:
|
||||||
from_secret: dockerhub-pat
|
from_secret: dockerhub-pat
|
||||||
repo: viktorbarzin/f1-stream
|
repo:
|
||||||
|
- viktorbarzin/f1-stream
|
||||||
|
- registry.viktorbarzin.lan:5050/f1-stream
|
||||||
|
logins:
|
||||||
|
- registry: https://index.docker.io/v1/
|
||||||
|
username: viktorbarzin
|
||||||
|
password:
|
||||||
|
from_secret: dockerhub-pat
|
||||||
dockerfile: stacks/f1-stream/files/Dockerfile
|
dockerfile: stacks/f1-stream/files/Dockerfile
|
||||||
context: stacks/f1-stream/files
|
context: stacks/f1-stream/files
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
provenance: false
|
provenance: false
|
||||||
tags: latest
|
tags: latest
|
||||||
|
cache_from: type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache
|
||||||
|
cache_to: type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache,mode=max
|
||||||
|
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