All checks were successful
build / build (push) Successful in 50s
Co-authored-by: Michael Czechowski <mail@dailysh.it> Co-committed-by: Michael Czechowski <mail@dailysh.it>
25 lines
694 B
YAML
25 lines
694 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/public/runner-image:v0.2.0@sha256:f60c587d3c0b0aac04a572db5349e27672bf76baec2ce547a3dcc28cebcf1b7e
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: https://git.librete.ch/public/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' }}
|