CI: cache build artifacts and configs
Some checks failed
Build and publish wylab SS14 server / build-and-push-image (push) Has been cancelled

This commit is contained in:
Codex Agent
2025-12-14 23:33:08 +01:00
parent 59c193f954
commit 8633363c22
4 changed files with 47 additions and 16 deletions

View File

@@ -16,10 +16,12 @@ env:
TARGET_PLATFORM: linux-x64
WYLAB_SOURCE_REPO: https://git.wylab.me/wylab/wylab-station-14.git
WYLAB_SOURCE_REF: master
BUILD_CACHE_SCOPE: ws14-docker-linux-server
jobs:
build-and-push-image:
runs-on: ubuntu-latest
timeout-minutes: 240
permissions:
contents: read
packages: write
@@ -65,6 +67,10 @@ jobs:
with:
context: .
platforms: linux/amd64
cache-from: |
type=gha,scope=${{ env.BUILD_CACHE_SCOPE }}
cache-to: |
type=gha,scope=${{ env.BUILD_CACHE_SCOPE }},mode=max,compression=zstd
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest