Merge pull request 'Fix plugins build ssh-key.' (#19) from Fix-plugins-build-ssh-key into master
Reviewed-on: #19
This commit was merged in pull request #19.
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_ID ;
|
||||
${{ inputs.vault_secrets_base_path }} SIGN_PRIVATE_KEY_PASSPHRASE ;
|
||||
${{ inputs.vault_secrets_base_path }} AI_DEPLOY_KEY ;
|
||||
|
||||
- id: plugin-meta
|
||||
name: ci/plugin-meta
|
||||
@@ -72,13 +73,17 @@ jobs:
|
||||
echo "BETA=$(jq -r '.version | contains("SNAPSHOT")' 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
|
||||
uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/plugin/build@master
|
||||
with:
|
||||
go_version: ${{ inputs.go_version }}
|
||||
go_cache: ${{ inputs.go_cache }}
|
||||
node_version: ${{ inputs.node_version }}
|
||||
ssh_key: ${{ secrets.AI_DEPLOY_KEY }}
|
||||
|
||||
- name: ci/plugin-sign
|
||||
uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/file-sign@master
|
||||
|
||||
Reference in New Issue
Block a user