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
25 lines
691 B
YAML
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 }}
|