mirror of
https://github.com/mkuf/prind.git
synced 2026-05-06 06:06:45 +02:00
rework github actions
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
name: build-images
|
||||
name: base-image-build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
workflow_call:
|
||||
inputs:
|
||||
app:
|
||||
required: true
|
||||
type: string
|
||||
description: 'app image to build'
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME:
|
||||
required: true
|
||||
DOCKERHUB_TOKEN:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build-images:
|
||||
@@ -23,4 +31,4 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Run Build Script
|
||||
run: bash ./scripts/build-images.sh ${{ secrets.DOCKERHUB_USERNAME }}/
|
||||
run: bash ./scripts/build-images.sh ${{ secrets.DOCKERHUB_USERNAME }}/ ${{ inputs.app }}
|
||||
13
.github/workflows/klipper.yaml
vendored
Normal file
13
.github/workflows/klipper.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: 'Image: Klipper'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
jobs:
|
||||
build:
|
||||
uses: mkuf/prind/.github/workflows/image-workflow.yaml@main
|
||||
with:
|
||||
app: klipper
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
13
.github/workflows/mainsail.yaml
vendored
Normal file
13
.github/workflows/mainsail.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: 'Image: Mainsail'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
jobs:
|
||||
build:
|
||||
uses: mkuf/prind/.github/workflows/image-workflow.yaml@main
|
||||
with:
|
||||
app: mainsail
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
13
.github/workflows/moonraker.yaml
vendored
Normal file
13
.github/workflows/moonraker.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: 'Image: Moonraker'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
jobs:
|
||||
build:
|
||||
uses: mkuf/prind/.github/workflows/image-workflow.yaml@main
|
||||
with:
|
||||
app: moonraker
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
13
.github/workflows/ustreamer.yaml
vendored
Normal file
13
.github/workflows/ustreamer.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: 'Image: Ustreamer'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
jobs:
|
||||
build:
|
||||
uses: mkuf/prind/.github/workflows/image-workflow.yaml@main
|
||||
with:
|
||||
app: ustreamer
|
||||
secrets:
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user