diff --git a/.github/workflows/tags.yml b/.github/workflows/tags.yml index 76e3500..99641e4 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -16,10 +16,23 @@ jobs: docker-unraid: runs-on: ubuntu-latest - steps: + steps: + - name: init / base64 nested json + uses: actions/github-script@62c3794a3eb6788d9a2a72b219504732c0c9a298 + with: + script: | + const { Buffer } = require('node:buffer'); + const etc = { + semversuffix:"unraid", + uid:99, + gid:100, + }; + core.exportVariable('WORKFLOW_BASE64JSON', Buffer.from(JSON.stringify(etc)).toString('base64')); + - name: build docker image for unraid community uses: the-actions-org/workflow-dispatch@3133c5d135c7dbe4be4f9793872b6ef331b53bc7 with: + wait-for-completion: false workflow: docker.yml token: "${{ secrets.REPOSITORY_TOKEN }}" - inputs: '{ "release":"false", "readme":"false", "uid":"99", "gid":"100", "semversuffix":"unraid", "run-name":"docker-unraid" }' \ No newline at end of file + inputs: '{ "release":"false", "readme":"false", "run-name":"unraid", "etc":"${{ env.WORKFLOW_BASE64JSON }}" }' \ No newline at end of file