mirror of
https://github.com/11notes/docker-kms-gui.git
synced 2025-10-24 08:33:50 +00:00
[feature] adjust to new workflow
This commit is contained in:
17
.github/workflows/tags.yml
vendored
17
.github/workflows/tags.yml
vendored
@@ -16,10 +16,23 @@ jobs:
|
|||||||
|
|
||||||
docker-unraid:
|
docker-unraid:
|
||||||
runs-on: ubuntu-latest
|
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
|
- name: build docker image for unraid community
|
||||||
uses: the-actions-org/workflow-dispatch@3133c5d135c7dbe4be4f9793872b6ef331b53bc7
|
uses: the-actions-org/workflow-dispatch@3133c5d135c7dbe4be4f9793872b6ef331b53bc7
|
||||||
with:
|
with:
|
||||||
|
wait-for-completion: false
|
||||||
workflow: docker.yml
|
workflow: docker.yml
|
||||||
token: "${{ secrets.REPOSITORY_TOKEN }}"
|
token: "${{ secrets.REPOSITORY_TOKEN }}"
|
||||||
inputs: '{ "release":"false", "readme":"false", "uid":"99", "gid":"100", "semversuffix":"unraid", "run-name":"docker-unraid" }'
|
inputs: '{ "release":"false", "readme":"false", "run-name":"unraid", "etc":"${{ env.WORKFLOW_BASE64JSON }}" }'
|
||||||
Reference in New Issue
Block a user