Files
beam/.gitea/workflows/docker-build.yml
T
noselasd 5bf6851d38
Build / build (push) Failing after 0s
Try push image
2026-09-07 22:05:29 +02:00

24 lines
503 B
YAML

name: Build
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Build image
run: ./build.sh
- name: Push docker image
if: github.ref == 'refs/heads/main'
uses: docker/login-action@v3
with:
registry: docker.sdal.tech
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
run: ./build.sh push