Fix plugins build ssh-key.
This commit is contained in:
@@ -58,6 +58,7 @@ jobs:
|
|||||||
${{ inputs.vault_secrets_base_path }} SIGN_PRIVATE_KEY_EXPORTED ;
|
${{ inputs.vault_secrets_base_path }} SIGN_PRIVATE_KEY_EXPORTED ;
|
||||||
${{ inputs.vault_secrets_base_path }} SIGN_PRIVATE_KEY_ID ;
|
${{ inputs.vault_secrets_base_path }} SIGN_PRIVATE_KEY_ID ;
|
||||||
${{ inputs.vault_secrets_base_path }} SIGN_PRIVATE_KEY_PASSPHRASE ;
|
${{ inputs.vault_secrets_base_path }} SIGN_PRIVATE_KEY_PASSPHRASE ;
|
||||||
|
${{ inputs.vault_secrets_base_path }} AI_DEPLOY_KEY ;
|
||||||
|
|
||||||
- id: plugin-meta
|
- id: plugin-meta
|
||||||
name: ci/plugin-meta
|
name: ci/plugin-meta
|
||||||
@@ -72,13 +73,17 @@ jobs:
|
|||||||
echo "BETA=$(jq -r '.version | contains("SNAPSHOT")' plugin.json)" >> "$GITHUB_OUTPUT"
|
echo "BETA=$(jq -r '.version | contains("SNAPSHOT")' plugin.json)" >> "$GITHUB_OUTPUT"
|
||||||
echo "EXPERIMENTAL=$(jq -r '.props.experimental == true' plugin.json)" >> "$GITHUB_OUTPUT"
|
echo "EXPERIMENTAL=$(jq -r '.props.experimental == true' plugin.json)" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
- name: Decode Base64 secret
|
||||||
|
run: |
|
||||||
|
echo "${{ steps.key.outputs.AI_DEPLOY_KEY }}" | base64 --decode > /tmp/ssh_key
|
||||||
|
chmod 400 /tmp/ssh_key
|
||||||
|
|
||||||
- name: ci/plugin-build
|
- name: ci/plugin-build
|
||||||
uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/plugin/build@master
|
uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/plugin/build@master
|
||||||
with:
|
with:
|
||||||
go_version: ${{ inputs.go_version }}
|
go_version: ${{ inputs.go_version }}
|
||||||
go_cache: ${{ inputs.go_cache }}
|
go_cache: ${{ inputs.go_cache }}
|
||||||
node_version: ${{ inputs.node_version }}
|
node_version: ${{ inputs.node_version }}
|
||||||
ssh_key: ${{ secrets.AI_DEPLOY_KEY }}
|
|
||||||
|
|
||||||
- name: ci/plugin-sign
|
- name: ci/plugin-sign
|
||||||
uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/file-sign@master
|
uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/file-sign@master
|
||||||
|
|||||||
Reference in New Issue
Block a user