Files
interval-viz/.gitea/workflows/docker.yml
T
traberphandClaude Opus 5.5 75e2b62f33
image / build (push) Successful in 41s
Build image / image (push) Successful in 41s
rename image to interval-viz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 19:29:23 +02:00

24 lines
668 B
YAML

name: Build image
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
workflow_dispatch:
jobs:
# Tags and build steps are shared across repos, see traberph/ci.
image:
uses: traberph/ci/.gitea/workflows/image.yaml@main
with:
project: public
image: interval-viz
push: ${{ github.event_name != 'pull_request' }}
secrets:
registry-username: ${{ secrets.REGISTRY_USERNAME }}
registry-token: ${{ secrets.REGISTRY_TOKEN }}
# Public image; also pushed to Docker Hub once these secrets exist.
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}