2026-02-22 21:30:25 +00:00
|
|
|
when:
|
|
|
|
|
event: push
|
|
|
|
|
|
|
|
|
|
clone:
|
|
|
|
|
git:
|
2026-02-23 00:08:42 +00:00
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
|
settings:
|
|
|
|
|
attempts: 5
|
|
|
|
|
backoff: 10s
|
2026-02-22 21:30:25 +00:00
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: build-image
|
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
|
settings:
|
|
|
|
|
username: "viktorbarzin"
|
|
|
|
|
password:
|
|
|
|
|
from_secret: dockerhub-pat
|
2026-02-28 19:40:38 +00:00
|
|
|
repo:
|
|
|
|
|
- viktorbarzin/infra
|
|
|
|
|
- registry.viktorbarzin.me:5050/infra
|
2026-02-28 17:56:52 +00:00
|
|
|
logins:
|
|
|
|
|
- registry: https://index.docker.io/v1/
|
|
|
|
|
username: viktorbarzin
|
|
|
|
|
password:
|
|
|
|
|
from_secret: dockerhub-pat
|
2026-02-22 21:30:25 +00:00
|
|
|
dockerfile: cli/Dockerfile
|
|
|
|
|
context: cli
|
|
|
|
|
auto_tag: true
|
2026-03-15 22:51:08 +00:00
|
|
|
# cache_from/cache_to removed: registry cache corruption causes
|
|
|
|
|
# "short read: expected 32 bytes" BuildKit errors. Inline cache
|
|
|
|
|
# will be re-populated once a clean image is pushed.
|
|
|
|
|
# cache_from: "registry.viktorbarzin.me:5050/infra:latest"
|
|
|
|
|
# cache_to: "type=inline"
|