From e8c6cde80c55dafb877825a8ddf7d8419e178d53 Mon Sep 17 00:00:00 2001 From: xkm Date: Thu, 7 May 2026 08:33:06 +0000 Subject: [PATCH] ci(debian): add ci action --- .gitea/workflows/debian.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/debian.yaml diff --git a/.gitea/workflows/debian.yaml b/.gitea/workflows/debian.yaml new file mode 100644 index 0000000..7b7081b --- /dev/null +++ b/.gitea/workflows/debian.yaml @@ -0,0 +1,27 @@ +name: Build Debian +on: + workflow_dispatch: + +jobs: + debian-trixie: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: gitea.starryskymeow.cn/mirrors/checkout@v6 + + - name: Set up QEMU + uses: gitea.starryskymeow.cn/mirrors/setup-qemu-action@v4 + + - name: Log in to Docker Hub + uses: gitea.starryskymeow.cn/mirrors/docker-login-action@v4 + with: + username: ${{ vars.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Build and push + run: | + docker build --push \ + --platform=linux/amd64,linux/arm64 \ + -f debian/Dockerfile \ + -t ${{ vars.DOCKER_USERNAME }}/debian:trixie \ + . \ No newline at end of file