mirror of
https://github.com/11notes/docker-kms.git
synced 2025-11-02 21:13:20 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd566a8900 | ||
|
|
58a28d8852 | ||
|
|
44e604d964 | ||
|
|
c055cc3fb2 | ||
|
|
74661d19d9 |
27
.github/workflows/docker.yml
vendored
27
.github/workflows/docker.yml
vendored
@@ -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 }}
|
||||
workflow: ${{ env.json_dispatch_workflow }}
|
||||
token: "${{ secrets.REPOSITORY_TOKEN }}"
|
||||
7
.github/workflows/gui.yml
vendored
7
.github/workflows/gui.yml
vendored
@@ -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" }'
|
||||
@@ -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)
|
||||
1060
rootfs/opt/py-kms/KmsDataBase.xml
Normal file
1060
rootfs/opt/py-kms/KmsDataBase.xml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user