|
|
@ -5,6 +5,40 @@ on: |
|
|
|
- master |
|
|
|
paths: |
|
|
|
- '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: |
|
|
|
push_to_ghcr_io: |
|
|
|
runs-on: ubuntu-latest |
|
|
@ -24,6 +58,7 @@ jobs: |
|
|
|
username: ${{ github.repository_owner }} |
|
|
|
password: ${{ secrets.GH_PAT }} |
|
|
|
- name: find correct directory then build&push |
|
|
|
if: ${{ github.event_name == 'push' }} |
|
|
|
run: | |
|
|
|
for i in ${{ steps.getfile.outputs.files }} |
|
|
|
do |
|
|
@ -38,6 +73,11 @@ jobs: |
|
|
|
docker build docker-mods/$directory --tag ghcr.io/gilbn/theme.park:$directory |
|
|
|
docker push ghcr.io/gilbn/theme.park:$directory |
|
|
|
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: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
@ -55,6 +95,7 @@ jobs: |
|
|
|
username: ${{ secrets.DH_USER }} |
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }} |
|
|
|
- name: find correct directory then build&push |
|
|
|
if: ${{ github.event_name == 'push' }} |
|
|
|
run: | |
|
|
|
for i in ${{ steps.getfile.outputs.files }} |
|
|
|
do |
|
|
@ -68,4 +109,9 @@ jobs: |
|
|
|
fi |
|
|
|
docker build docker-mods/$directory --tag 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 }} |