From d4e997deb9d1d3f5a45e2575f7d7d99bd1d5e69c Mon Sep 17 00:00:00 2001 From: ytshih Date: Fri, 18 Oct 2024 16:52:52 +0000 Subject: [PATCH] Add build ci --- .gitea/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..7f019c4 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,20 @@ +name: Build package +on: [push] + +jobs: + build-package: + runs-on: imgbuilder + container: + image: gitea.konchin.com/image/archmakepkg + credentials: + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} + env: + MINIO_ACCESSKEY: ${{ secrets.MINIO_ACCESSKEY }} + MINIO_SECRETKEY: ${{ secrets.MINIO_SECRETKEY }} + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Build package + run: /script/run.sh