2024-08-16 12:47:06 +00:00
|
|
|
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:
|
2024-08-16 19:20:19 +00:00
|
|
|
- name: Build Docker image
|
|
|
|
uses: https://git.kjan.de/actions/docker-build@v1
|
2024-08-16 12:47:06 +00:00
|
|
|
with:
|
2024-08-16 19:20:19 +00:00
|
|
|
name: zmk-builder
|
|
|
|
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
|
|
|
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
|
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|