Skip to content

Commit

Permalink
Update all mods to support s6-v3 (#424)
Browse files Browse the repository at this point in the history
* Update all mods to support s6-v3

* add npm dummy file

* add build-all-mods action step
  • Loading branch information
GilbN authored Sep 3, 2022
1 parent a75ae48 commit c7788f4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -77,10 +78,19 @@ 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 }}
- name: manually build all mods
if: ${{ github.event.inputs.app == 'build-all-the-mods' }}
run: |
for dir in docker-mods/*;
do
app="$( echo "$dir" | cut -d'/' -f2 -s )"
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:
Expand Down Expand Up @@ -114,7 +124,16 @@ 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 }}
docker push gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
- name: manually build all mods
if: ${{ github.event.inputs.app == 'build-all-the-mods' }}
run: |
for dir in docker-mods/*;
do
app="$( echo "$dir" | cut -d'/' -f2 -s )"
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
6 changes: 6 additions & 0 deletions docker-mods/nginx-proxy-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM scratch
# This is just a dummy file. LSIO doesnt have a Nginx Proxy Manager image..SWAG for life!
LABEL maintainer="GilbN"
LABEL app="Nginx-Proxy-Manager"
#copy local files.
COPY root/ /

0 comments on commit c7788f4

Please sign in to comment.