https://github.com/schiplat/buz-plugins/
75
https://github.com/schiplat/buz-plugins/
Uploads one file from the Buz workspace to an Alibaba Cloud OSS bucket using ossutil v2.
- name: upload artifact
uses: buz/[email protected]
with:
source: dist/app.tar.gz
bucket: release-artifacts
object: app/app.tar.gz
endpoint: https://oss-cn-hangzhou.aliyuncs.com
region: cn-hangzhou
access_key_id: ${secrets.OSS_ACCESS_KEY_ID}
access_key_secret: ${secrets.OSS_ACCESS_KEY_SECRET}
session_token: ${secrets.OSS_SESSION_TOKEN} # optional
All inputs except session_token are required. source must be a readable path inside the Buz workspace; use an HTTPS endpoint and least-privilege or short-lived credentials. A Docker-enabled Linux amd64 runner is required. The 1.0.0 image must not be used in production until its release is verified and the template is pinned to the published digest. Default timeout: 10 minutes.
Content type
Image
Digest
sha256:b822a353d…
Size
43.4 MB
Last updated
3 days ago
docker pull schiplat/buz-plugins-oss-tools:1.0.37898913889