mirror of
https://github.com/gilbN/theme.park.git
synced 2024-09-11 11:22:24 +02:00
manual build mods
This commit is contained in:
parent
4cc4a2d386
commit
268ae39001
48
.github/workflows/auto-build.yml
vendored
48
.github/workflows/auto-build.yml
vendored
@ -5,6 +5,40 @@ on:
|
|||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
- 'docker-mods/**'
|
- 'docker-mods/**'
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
app:
|
||||||
|
description: 'Select an app'
|
||||||
|
required: true
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- radarr
|
||||||
|
- sonarr
|
||||||
|
- readarr
|
||||||
|
- lidarr
|
||||||
|
- bazarr
|
||||||
|
- whisparr
|
||||||
|
- prowlarr
|
||||||
|
- plex
|
||||||
|
- jellyfin
|
||||||
|
- emby
|
||||||
|
- sabnzbd
|
||||||
|
- synclounge
|
||||||
|
- transmission
|
||||||
|
- calibre-web
|
||||||
|
- lazylibrarian
|
||||||
|
- mylar3
|
||||||
|
- duplicati
|
||||||
|
- tautulli
|
||||||
|
- vuetorrent
|
||||||
|
- deluge
|
||||||
|
- jackett
|
||||||
|
- librespeed
|
||||||
|
- nzbget
|
||||||
|
- qbittorrent
|
||||||
|
- rutorrent
|
||||||
|
- swag
|
||||||
|
- thelounge
|
||||||
jobs:
|
jobs:
|
||||||
push_to_ghcr_io:
|
push_to_ghcr_io:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -24,6 +58,7 @@ jobs:
|
|||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GH_PAT }}
|
password: ${{ secrets.GH_PAT }}
|
||||||
- name: find correct directory then build&push
|
- name: find correct directory then build&push
|
||||||
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: |
|
run: |
|
||||||
for i in ${{ steps.getfile.outputs.files }}
|
for i in ${{ steps.getfile.outputs.files }}
|
||||||
do
|
do
|
||||||
@ -38,6 +73,11 @@ jobs:
|
|||||||
docker build docker-mods/$directory --tag ghcr.io/gilbn/theme.park:$directory
|
docker build docker-mods/$directory --tag ghcr.io/gilbn/theme.park:$directory
|
||||||
docker push ghcr.io/gilbn/theme.park:$directory
|
docker push ghcr.io/gilbn/theme.park:$directory
|
||||||
done
|
done
|
||||||
|
- name: manually build
|
||||||
|
if: ${{ github.event.inputs.app }}
|
||||||
|
run: |
|
||||||
|
docker build docker-mods/${{ github.event.inputs.app }} --tag ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}
|
||||||
|
docker push ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}
|
||||||
push_to_dockerhub:
|
push_to_dockerhub:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -55,6 +95,7 @@ jobs:
|
|||||||
username: ${{ secrets.DH_USER }}
|
username: ${{ secrets.DH_USER }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: find correct directory then build&push
|
- name: find correct directory then build&push
|
||||||
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: |
|
run: |
|
||||||
for i in ${{ steps.getfile.outputs.files }}
|
for i in ${{ steps.getfile.outputs.files }}
|
||||||
do
|
do
|
||||||
@ -68,4 +109,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
docker build docker-mods/$directory --tag gilbn/theme.park:$directory
|
docker build docker-mods/$directory --tag gilbn/theme.park:$directory
|
||||||
docker push gilbn/theme.park:$directory
|
docker push gilbn/theme.park:$directory
|
||||||
done
|
done
|
||||||
|
- name: manually build
|
||||||
|
if: ${{ github.event.inputs.app }}
|
||||||
|
run: |
|
||||||
|
docker build docker-mods/${{ github.event.inputs.app }} --tag ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}
|
||||||
|
docker push ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}
|
Loading…
Reference in New Issue
Block a user