1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-03 22:17:08 +02:00

append-tag on mod build

This commit is contained in:
GilbN 2022-09-03 11:14:12 +02:00
parent a4922a391b
commit 1765e9e53a

View File

@ -39,6 +39,9 @@ on:
- rutorrent
- swag
- thelounge
append-tag:
required: false
description: 'Append a the tag with "-custom" e.g :radarr-custom'
jobs:
push_to_ghcr_io:
runs-on: ubuntu-latest
@ -76,8 +79,8 @@ jobs:
- 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 }}
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 }}
push_to_dockerhub:
runs-on: ubuntu-latest
steps:
@ -113,5 +116,5 @@ jobs:
- name: manually build
if: ${{ github.event.inputs.app }}
run: |
docker build docker-mods/${{ github.event.inputs.app }} --tag gilbn/theme.park:${{ github.event.inputs.app }}
docker push gilbn/theme.park:${{ github.event.inputs.app }}
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 }}