diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2ea6836..960a200 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -18,11 +18,11 @@ jobs: with: args: bash build.sh - name: upload to cos - uses: docker://ccr.ccs.tencentyun.com/xiaoqidun/gocos:latest - env: - PLUGIN_SECRET_ID: ${{secrets.cos_secret_id}} - PLUGIN_SECRET_KEY: ${{secrets.cos_secret_key}} - PLUGIN_BUCKET_URL: ${{secrets.cos_bucket_url}} - PLUGIN_SOURCE: release/ - PLUGIN_TARGET: product/gitcz - PLUGIN_STRIP_PREFIX: release/ \ No newline at end of file + uses: xiaoqidun/gocos@main + with: + secret_id: ${{ secrets.cos_secret_id }} + secret_key: ${{ secrets.cos_secret_key }} + bucket_url: ${{ secrets.cos_bucket_url }} + source_path: release + target_path: product/gitcz + strip_prefix: release \ No newline at end of file