From 4a3c948bd1f1778d6887fbcb99569cb2a7861a22 Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Thu, 9 Jul 2026 09:15:27 -0400 Subject: [PATCH] cicd: act runner --- .gitea/workflows/ci.yaml | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..85a213f --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,43 @@ +name: CI +on: + push: + branches: [main] + +jobs: + ci: + runs-on: ubuntu-latest + permissions: + packages: write + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: actions/setup-go@v5 + with: + go-version: "1.25" + + - name: Tests + run: make tests + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to Gitea registry + uses: docker/login-action@v3 + with: + registry: gitea.va.reichard.io + username: ${{ github.actor }} + password: ${{ secrets.GITEA_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + file: Dockerfile-BuildKit + platforms: linux/amd64,linux/arm64 + push: true + tags: gitea.va.reichard.io/evan/conduit:dev