KPN/.gitea/workflows/builder.yaml
Duncan Tourolle 2a5c0a0b4d
Some checks failed
🧪 Test / test (push) Failing after 1s
🐳 Build Builder Image / build-and-push (push) Failing after 1s
Add build infra
2026-05-08 18:00:03 +02:00

26 lines
680 B
YAML

name: '🐳 Build Builder Image'
on:
push:
branches:
- master
paths:
- 'Dockerfile.builder'
workflow_dispatch:
jobs:
build-and-push:
runs-on: linux/amd64
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to Gitea registry
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login gitea.tourolle.paris -u "${{ secrets.REGISTRY_USER }}" --password-stdin
- name: Build image
run: docker build -f Dockerfile.builder -t gitea.tourolle.paris/dtourolle/kpnpp-builder:latest .
- name: Push image
run: docker push gitea.tourolle.paris/dtourolle/kpnpp-builder:latest