From 1765e9e53a76da58cd8a3c9c01c4bc667845b51c Mon Sep 17 00:00:00 2001 From: GilbN Date: Sat, 3 Sep 2022 11:14:12 +0200 Subject: [PATCH] append-tag on mod build --- .github/workflows/auto-build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index 0f81953d..654126be 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -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 }} \ No newline at end of file + 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 }} \ No newline at end of file