life-towers/.forgejo/workflows/publish.yml
Andras Schmelczer 30a33a69bb
All checks were successful
CI / Backend tests (pull_request) Successful in 17s
CI / Frontend lint (pull_request) Successful in 19s
CI / Frontend unit tests (pull_request) Successful in 17s
CI / Frontend build (pull_request) Successful in 20s
CI / Playwright e2e (pull_request) Successful in 53s
Adopt shared ci-actions for publishing
Replace the inline publish step(s) with the canonical shell-only composite
actions in andras/ci-actions (deploy-pages / docker-publish / forgejo-release).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 14:58:37 +01:00

25 lines
693 B
YAML

name: Docker
on:
push:
branches: [master]
tags: ["v*"]
workflow_dispatch:
jobs:
build-and-push:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and publish image
uses: http://forgejo:3000/andras/ci-actions/docker-publish@main
with:
context: .
# The published image is deployed at https://schmelczer.dev/towers/,
# so the SPA is built with that sub-path baked into <base href> and
# the service-worker manifest. Change this if the deploy path changes.
build-args: |
BASE_HREF=/towers/
token: ${{ secrets.FORGEJO_PACKAGE_TOKEN }}