diff --git a/.gitea/workflows/loop-plugin-with-marketplace-template.yml b/.gitea/workflows/loop-plugin-with-marketplace-template.yml index 698c9be..af1c05c 100644 --- a/.gitea/workflows/loop-plugin-with-marketplace-template.yml +++ b/.gitea/workflows/loop-plugin-with-marketplace-template.yml @@ -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