From a451f9d41ef61e7dea4800ee963c5a72d0501db2 Mon Sep 17 00:00:00 2001 From: ElevenNotes Date: Wed, 18 Jun 2025 11:37:39 +0200 Subject: [PATCH] [fix] wrong workflow --- .github/workflows/tags.yml | 90 +------------------------------------- 1 file changed, 2 insertions(+), 88 deletions(-) diff --git a/.github/workflows/tags.yml b/.github/workflows/tags.yml index 7085726..90b36ef 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -11,92 +11,6 @@ jobs: uses: the-actions-org/workflow-dispatch@3133c5d135c7dbe4be4f9793872b6ef331b53bc7 with: workflow: docker.yml + wait-for-completion: false token: "${{ secrets.REPOSITORY_TOKEN }}" - inputs: '{ "release":"true", "readme":"true" }' - - docker-unraid: - runs-on: ubuntu-latest - 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: - workflow: docker.yml - token: "${{ secrets.REPOSITORY_TOKEN }}" - inputs: '{ "release":"false", "readme":"false", "run-name":"unraid", "etc":"${{ env.WORKFLOW_BASE64JSON }}" }' - - kms-gui: - runs-on: ubuntu-latest - needs: docker - steps: - - name: init / base64 nested json - uses: actions/github-script@62c3794a3eb6788d9a2a72b219504732c0c9a298 - with: - script: | - const { Buffer } = require('node:buffer'); - (async()=>{ - try{ - const master = await fetch('https://raw.githubusercontent.com/11notes/docker-kms/refs/heads/master/.json'); - const dot = await master.json(); - const etc = { - version:dot.semver.version, - }; - core.exportVariable('WORKFLOW_BASE64JSON', Buffer.from(JSON.stringify(etc)).toString('base64')); - }catch(e){ - core.setFailed(`workflow failed: ${e}`); - } - })(); - - - name: build downstream kms gui - uses: the-actions-org/workflow-dispatch@3133c5d135c7dbe4be4f9793872b6ef331b53bc7 - with: - workflow: docker.yml - token: "${{ secrets.REPOSITORY_TOKEN }}" - repo: 11notes/docker-kms-gui - ref: master - inputs: '{ "release":"false", "readme":"true", "etc":"${{ env.WORKFLOW_BASE64JSON }}" }' - - kms-gui-unraid: - runs-on: ubuntu-latest - needs: docker-unraid - steps: - - name: init / base64 nested json - uses: actions/github-script@62c3794a3eb6788d9a2a72b219504732c0c9a298 - with: - script: | - const { Buffer } = require('node:buffer'); - (async()=>{ - try{ - const master = await fetch('https://raw.githubusercontent.com/11notes/docker-kms/refs/heads/master/.json'); - const dot = await master.json(); - const etc = { - version:dot.semver.version, - semversuffix:"unraid", - uid:99, - gid:100, - }; - core.exportVariable('WORKFLOW_BASE64JSON', Buffer.from(JSON.stringify(etc)).toString('base64')); - }catch(e){ - core.setFailed(`workflow failed: ${e}`); - } - })(); - - - name: build downstream kms gui for unraid community - uses: the-actions-org/workflow-dispatch@3133c5d135c7dbe4be4f9793872b6ef331b53bc7 - with: - workflow: docker.yml - token: "${{ secrets.REPOSITORY_TOKEN }}" - repo: 11notes/docker-kms-gui - ref: master - inputs: '{ "release":"false", "readme":"false", "run-name":"unraid", "etc":"${{ env.WORKFLOW_BASE64JSON }}" }' \ No newline at end of file + inputs: '{ "release":"true", "readme":"true" }' \ No newline at end of file