|
|
|
|
@ -24,12 +24,12 @@ steps:
|
|
|
|
|
# image: plugins/docker
|
|
|
|
|
image: registry.sn48.zivili.ch/library/plugins-docker:24.0.0
|
|
|
|
|
environment:
|
|
|
|
|
# Use Buildx with registry cache backend for maximum performance
|
|
|
|
|
PLUGIN_BUILDX_OPTIONS: >-
|
|
|
|
|
--progress=plain
|
|
|
|
|
--cache-to=type=registry,ref=registry.sn48.zivili.ch/meow/playchoo-auth:buildcache,mode=max
|
|
|
|
|
--cache-from=type=registry,ref=registry.sn48.zivili.ch/meow/playchoo-auth:buildcache
|
|
|
|
|
# Enable BuildKit for cache mounts and inline cache
|
|
|
|
|
DOCKER_BUILDKIT: "1"
|
|
|
|
|
settings:
|
|
|
|
|
build_args:
|
|
|
|
|
# Enable inline cache in built image
|
|
|
|
|
- BUILDKIT_INLINE_CACHE=1
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
context: .
|
|
|
|
|
registry: registry.sn48.zivili.ch
|
|
|
|
|
@ -37,6 +37,8 @@ steps:
|
|
|
|
|
tags:
|
|
|
|
|
- "amd64-1.0.0"
|
|
|
|
|
- "latest"
|
|
|
|
|
cache_from:
|
|
|
|
|
- "registry.sn48.zivili.ch/meow/playchoo-auth:latest"
|
|
|
|
|
username:
|
|
|
|
|
from_secret: PORTUS_USER
|
|
|
|
|
password:
|
|
|
|
|
|