runner-images/.gitea/workflows/zmk-builder.yaml

27 lines
700 B
YAML
Raw Permalink Normal View History

name: ZMK builder
on:
schedule:
- cron: "@weekly"
push:
branches: [main]
paths:
- .gitea/workflows/zmk-builder.yaml
- images/actions/zmk-builder/**
pull_request:
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Build Docker image
uses: https://git.kjan.de/actions/docker-build@v1
with:
name: zmk-builder
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}