perfect-postcode/.forgejo/workflows/docker-publish.yml
Andras Schmelczer 719dd27600
Some checks failed
CI / Check (pull_request) Failing after 1m42s
CI / Check (push) Failing after 1m49s
Build and publish Docker image / build-and-push (push) Successful in 5m56s
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

27 lines
685 B
YAML

name: Build and publish Docker image
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 main image
uses: http://forgejo:3000/andras/ci-actions/docker-publish@main
with:
context: .
token: ${{ secrets.FORGEJO_PACKAGE_TOKEN }}
- name: Build and publish screenshot image
uses: http://forgejo:3000/andras/ci-actions/docker-publish@main
with:
context: ./screenshot
image-suffix: -screenshot
token: ${{ secrets.FORGEJO_PACKAGE_TOKEN }}