From 82c01dfc383c7cef2cf59ecb0ac23083181f741a Mon Sep 17 00:00:00 2001 From: Joseph Nelson Date: Sun, 26 Apr 2026 22:25:58 -0700 Subject: [PATCH] adding a build yaml --- .gitea/workflows/build.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..8db4689 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,29 @@ +name: Build and Push Image +on: [push] + +jobs: + build-and-push: + runs-on: ubuntu-latest + # Required for building containers inside a containerized runner + container: + image: catthehacker/ubuntu:act-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Log in to Gitea Registry + uses: docker/login-action@v3 + with: + registry: 192.168.68.150 # Replace with your Gitea domain + username: ${{ gitea.actor }} + password: ${{ secrets.GITEA_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + push: true