From d02596236a97bc3557d667c9938a94b58f35c9ad Mon Sep 17 00:00:00 2001 From: asonix Date: Sat, 10 Feb 2024 12:06:42 -0600 Subject: [PATCH] Attempt to use minio action --- .forgejo/workflows/publish.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .forgejo/workflows/publish.yaml diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml new file mode 100644 index 0000000..dae2737 --- /dev/null +++ b/.forgejo/workflows/publish.yaml @@ -0,0 +1,20 @@ +on: + push: + branches: + - main + +jobs: + publish: + runs-on: base-image + steps: + - + name: Checkout Project + uses: https://github.com/actions/checkout@v4 + - + name: List Object Storage + uses: https://github.com/jhwz/minio-action@main + with: + endpoint: ${{ env.GARAGE_ENDPOINT }} + access_key: ${{ secrets.GARAGE_KEY_ID }} + secret_key: ${{ secrets.GARAGE_SECRET_KEY }} + args: ls minio/${{ env.GARAGE_BUCKET_NAME }}