5 Commits

Author SHA1 Message Date
ElevenNotes
bd566a8900 workflow issues 2025-02-10 12:07:24 +01:00
ElevenNotes
58a28d8852 workflow issues 2025-02-10 11:58:11 +01:00
ElevenNotes
44e604d964 release issues 2025-02-10 11:47:06 +01:00
ElevenNotes
c055cc3fb2 add ref:master 2025-02-10 11:35:39 +01:00
ElevenNotes
74661d19d9 add custom KMS DB 2025-02-10 11:19:37 +01:00
4 changed files with 1079 additions and 18 deletions

View File

@@ -4,17 +4,15 @@ on:
workflow_dispatch:
inputs:
release:
description: 'create release or not'
required: false
default: true
type: 'boolean'
description: 'set WORKFLOW_GITHUB_RELEASE'
required: true
default: 'true'
push:
tags:
- 'v*'
env:
DOCKER_USERNAME: 11notes
RELEASE: true
WORKFLOW_GITHUB_RELEASE: true
jobs:
build-and-push-image:
@@ -59,15 +57,15 @@ jobs:
: # echo inputs
echo "${{ toJSON(github.event.inputs) }}"
- name: github / disable release
if: ${{ inputs.release != null && inputs.release == false }}
- name: github / set workflow release
if: github.event_name == 'workflow_dispatch'
run: |
echo "RELEASE=false" >> $GITHUB_ENV
echo "WORKFLOW_GITHUB_RELEASE=${{ inputs.release }}" >> $GITHUB_ENV
- name: docker / login to hub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
with:
username: ${{ env.DOCKER_USERNAME }}
username: 11notes
password: ${{ secrets.DOCKER_TOKEN }}
- name: docker / setup qemu
@@ -144,7 +142,7 @@ jobs:
${{ env.IMAGE_TAGS }}
- name: github / create release notes
if: ${{ env.RELEASE == 'true' && hashFiles('RELEASE.md') != '' }}
if: env.WORKFLOW_GITHUB_RELEASE == 'true' && hashFiles('RELEASE.md') != ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
@@ -169,7 +167,7 @@ jobs:
- name: docker / push README.md to docker hub
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8
env:
DOCKER_USER: ${{ env.DOCKER_USERNAME }}
DOCKER_USER: 11notes
DOCKER_PASS: ${{ secrets.DOCKER_TOKEN }}
with:
destination_container_repo: ${{ env.json_image }}
@@ -178,7 +176,8 @@ jobs:
readme_file: 'README.md'
- name: github / dispatch workflow
if: ${{ env.json_dispatch_workflow != null }}
if: env.json_dispatch_workflow != null
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc
with:
workflow: ${{ env.json_dispatch_workflow }}
token: "${{ secrets.REPOSITORY_TOKEN }}"

View File

@@ -1,10 +1,10 @@
name: build kms gui
name: kms-gui
on:
workflow_dispatch:
jobs:
cron:
kms-gui:
runs-on: ubuntu-latest
steps:
- name: auto build and update downstream image
@@ -12,5 +12,6 @@ jobs:
with:
workflow: docker.yml
repo: 11notes/docker-kms-gui
ref: master
token: "${{ secrets.REPOSITORY_TOKEN }}"
inputs: '{ "release": false }'
inputs: '{ "release": "false" }'

View File

@@ -1,2 +1,3 @@
### 🪄 Features
* downstream auto build
* add Server 2025 KMS IDs by @ProfessorCha0s (thanks)
* add Office LTSC 2024 KMS IDs by @MrRubberDucky (thanks)

File diff suppressed because it is too large Load Diff