life-towers/.forgejo/workflows/publish.yml
Andras Schmelczer c150f3d258
Some checks failed
renovate/artifacts Artifact file update failure
CI / Frontend lint (pull_request) Failing after 18s
CI / Backend tests (pull_request) Successful in 21s
CI / Frontend unit tests (pull_request) Failing after 13s
CI / Frontend build (pull_request) Failing after 16s
CI / Playwright e2e (pull_request) Has been skipped
Update all dependencies
2026-10-29 00:19:48 +00:00

25 lines
691 B
YAML

name: Docker
on:
push:
branches: [main]
tags: ["v*"]
workflow_dispatch:
jobs:
build-and-push:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v7
- 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 }}