vault-link/.forgejo/workflows/publish-server-docker.yml
Andras Schmelczer 339e17d27d
Some checks failed
Publish CLI / publish-docker (pull_request) Failing after 29s
Publish server Docker image / publish-docker (pull_request) Failing after 53s
Check / build (pull_request) Has been cancelled
E2E tests / build (pull_request) Has been cancelled
Adopt shared ci-actions for publishing
Replace inline publish step(s) with the canonical shell-only composite
actions in andras/ci-actions. Switches the publish jobs to the registered
'docker' runner.

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

26 lines
620 B
YAML

name: Publish server Docker image
on:
push:
branches: ["main"]
tags: ["*"]
pull_request:
branches: ["main"]
jobs:
publish-docker:
runs-on: docker
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and publish server image
uses: http://forgejo:3000/andras/ci-actions/docker-publish@main
with:
context: sync-server
# Push only on tags (matches the previous workflow's behaviour).
push: ${{ github.ref_type == 'tag' }}
token: ${{ secrets.GITHUB_TOKEN }}