Enhance Docker Action: Add curl and jq to Dockerfile, update action.yaml inputs, and improve entrypoint.sh with error handling and release management logic.

This commit is contained in:
2026-06-25 09:08:44 +00:00
parent 609bf90842
commit 3bf8cab832
3 changed files with 178 additions and 19 deletions
+5 -11
View File
@@ -2,21 +2,15 @@ name: 'Docker Action Template'
description: 'Docker Action 範本'
author: 'Jeffery'
inputs:
gitea_token:
description: 'Gitea Token'
required: true
text:
description: '輸入的文字'
keep_count:
description: ''
required: false
default: 'Hello, World!'
outputs:
text:
description: '輸出的文字'
default: 2
runs:
using: 'docker'
image: 'Dockerfile'
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN || inputs.gitea_token }}
TEXT: ${{ inputs.text }}
GITEA_TOKEN: ${{ secrets.CUSTOM_TOKEN || secrets.GITEA_TOKEN }}
KEEP_COUNT: ${{ inputs.keep_count }}