26 lines
617 B
YAML
26 lines
617 B
YAML
name: build
|
|
|
|
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
|
|
|
|
- uses: git.librete.ch/libretech/actions/.gitea/actions/docker-build@main
|
|
with:
|
|
registry: ${{ secrets.REGISTRY }}
|
|
registry_user: ${{ secrets.REGISTRY_USER }}
|
|
registry_pass: ${{ secrets.REGISTRY_PASS }}
|
|
publish: ${{ github.event_name == 'push' && vars.PUBLISH_ENABLED == 'true' }}
|
|
|