life-towers/.forgejo/workflows/publish.yml
Andras Schmelczer 4c0d99739c
All checks were successful
CI / Backend tests (push) Successful in 21s
CI / Frontend lint (push) Successful in 26s
CI / Frontend unit tests (push) Successful in 28s
CI / Frontend build (push) Successful in 22s
Docker / build-and-push (push) Successful in 56s
CI / Playwright e2e (push) Successful in 1m44s
Rename master to main
2026-09-19 09:23:38 +01: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@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 }}