Files
Chronos/.github/workflows/docker.yml
T
Claude 7cde9b583b ci: artifact uploads no longer fail jobs whose checks passed; short retention
The repository's artifact storage filled up (screenshots were kept the default
90 days, Windows programs 14), and every upload then failed its job although
all tests had passed. Uploads of test results, screenshots, Windows programs and
perf results now continue on error; test results are kept 7 days, the Windows
programs 3, the screenshots one day (the screenshots job reads them right away
and the ci-screenshots branch keeps the latest set), the release hand-off 3.
The Docker builds no longer store a build-record artifact nobody reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-11 23:31:41 +00:00

40 lines
1.1 KiB
YAML

name: Nightly image
on:
schedule:
- cron: "17 2 * * *"
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
nightly:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Image name
id: image
run: echo "name=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/titano-server" >> "$GITHUB_OUTPUT"
- uses: docker/build-push-action@v6
env:
DOCKER_BUILD_RECORD_UPLOAD: "false" # no build-record artifact: nothing reads it
with:
context: .
file: deploy/docker/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.image.outputs.name }}:nightly
build-args: TITANO_VERSION=0.0.0-nightly.${{ github.run_number }}
cache-from: type=gha
cache-to: type=gha,mode=max