From 81f078f0a924200c6155932f6a1a0978e5607816 Mon Sep 17 00:00:00 2001 From: Sami Abuzakuk Date: Sun, 12 Oct 2025 17:20:14 +0200 Subject: [PATCH] Add gitea support --- .gitea/workflows/build-container.yml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/build-container.yml diff --git a/.gitea/workflows/build-container.yml b/.gitea/workflows/build-container.yml new file mode 100644 index 0000000..2acccd5 --- /dev/null +++ b/.gitea/workflows/build-container.yml @@ -0,0 +1,33 @@ +name: Build Container + +on: + push: + branches: + - main + +jobs: + build: + name: Build Docker Container + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Log in to Gitea Container Registry + uses: docker/login-action@v2 + with: + registry: gitea.abzk.fr + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Build and Push Docker Image + uses: docker/build-push-action@v4 + with: + context: . + file: ./Dockerfile + push: true + tags: gitea.abzk.fr/mrzaiko/project-monitor:latest