mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-20 01:52:32 +01:00
build-app-mods test
This commit is contained in:
parent
17abb62b07
commit
6b04917a66
19
.github/workflows/auto-build.yml
vendored
19
.github/workflows/auto-build.yml
vendored
@ -39,6 +39,7 @@ on:
|
||||
- rutorrent
|
||||
- swag
|
||||
- thelounge
|
||||
- build-all-the-mods
|
||||
append-tag:
|
||||
required: false
|
||||
description: 'Append a the tag with "-custom" e.g :radarr-testing'
|
||||
@ -77,10 +78,17 @@ jobs:
|
||||
docker push ghcr.io/gilbn/theme.park:$directory
|
||||
done
|
||||
- name: manually build
|
||||
if: ${{ github.event.inputs.app }}
|
||||
if: ${{ github.event.inputs.app != "build-all-the-mods"}}
|
||||
run: |
|
||||
docker build docker-mods/${{ github.event.inputs.app }} --tag ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
|
||||
docker push ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
|
||||
if: ${{ github.event.inputs.app == "build-all-the-mods"}}
|
||||
run: |
|
||||
for app in ${{ github.event.inputs.app.options }}
|
||||
do
|
||||
docker build docker-mods/$app --tag ghcr.io/gilbn/theme.park:$app${{ github.event.inputs.append-tag }}
|
||||
docker push ghcr.io/gilbn/theme.park:$app${{ github.event.inputs.append-tag }}
|
||||
done
|
||||
push_to_dockerhub:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -114,7 +122,14 @@ jobs:
|
||||
docker push gilbn/theme.park:$directory
|
||||
done
|
||||
- name: manually build
|
||||
if: ${{ github.event.inputs.app }}
|
||||
if: ${{ github.event.inputs.app != "build-all-the-mods"}}
|
||||
run: |
|
||||
docker build docker-mods/${{ github.event.inputs.app }} --tag gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
|
||||
docker push gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
|
||||
if: ${{ github.event.inputs.app == "build-all-the-mods"}}
|
||||
run: |
|
||||
for app in ${{ github.event.inputs.app.options }}
|
||||
do
|
||||
docker build docker-mods/$app --tag gilbn/theme.park:$app${{ github.event.inputs.append-tag }}
|
||||
docker push gilbn/theme.park:$app${{ github.event.inputs.append-tag }}
|
||||
done
|
Loading…
Reference in New Issue
Block a user