фикс кеша 2
This commit is contained in:
parent
e56cb74322
commit
e35a74aa03
1 changed files with 11 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ steps:
|
|||
# ── 1а. Сборка при push в main ─────────────────────────────────────────────
|
||||
- name: docker-build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
environment:
|
||||
BUILDKIT_PROGRESS: plain
|
||||
settings:
|
||||
registry:
|
||||
from_secret: forgejo_host
|
||||
|
|
@ -27,6 +29,7 @@ steps:
|
|||
from_secret: forgejo_username
|
||||
password:
|
||||
from_secret: forgejo_token
|
||||
|
||||
tags:
|
||||
- latest
|
||||
- "sha-${CI_COMMIT_SHA:0:8}"
|
||||
|
|
@ -71,6 +74,14 @@ steps:
|
|||
- "GIT_COMMIT=${CI_COMMIT_SHA:0:8}"
|
||||
- "BUILDKIT_INLINE_CACHE=1"
|
||||
|
||||
provenance: false
|
||||
sbom: false
|
||||
|
||||
platforms:
|
||||
- linux/amd64
|
||||
|
||||
rewrite_timestamp: false
|
||||
|
||||
when:
|
||||
- event: tag
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue