fix: add buildx setup, match tag/latest behavior, add PR trigger
Some checks failed
build / build (push) Failing after 1s

This commit is contained in:
2026-04-29 21:25:45 +02:00
parent e131f1d208
commit b5d1cfd28d
2 changed files with 9 additions and 3 deletions

View File

@@ -9,12 +9,15 @@ on:
push:
branches: [main]
tags: ["v*"]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
container:
image: git.librete.ch/libretech/runner-image:v1
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
@@ -23,4 +26,4 @@ jobs:
registry: ${{ secrets.REGISTRY }}
registry_user: ${{ secrets.REGISTRY_USER }}
registry_pass: ${{ secrets.REGISTRY_PASS }}
publish: ${{ secrets.PUBLISH_ENABLED }}
publish: ${{ github.event_name == 'push' && vars.PUBLISH_ENABLED == 'true' }}