From 3b055aa0c4448bdf4c31ecb1e73272fc2fa26f9e Mon Sep 17 00:00:00 2001 From: AI Bot Date: Tue, 1 Sep 2026 10:46:56 +0530 Subject: [PATCH] ci: restore CI workflow to build and push docker images --- .gitea/workflows/ci.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 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..7c0b124 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,36 @@ +name: Build and Deploy + +on: + push: + branches: + - master + +jobs: + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Login to Gitea Container Registry + uses: docker/login-action@v2 + with: + registry: git.digifox.live + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push Web + uses: docker/build-push-action@v4 + with: + context: . + file: ./Dockerfile + push: true + tags: git.digifox.live/digifoxkurama/titan-web:latest + + - name: Build and push API + uses: docker/build-push-action@v4 + with: + context: ./backend + file: ./backend/Dockerfile + push: true + tags: git.digifox.live/digifoxkurama/titan-api:latest