From b8e5a2841f55012db1d4b6b1eea3e44c489a8b16 Mon Sep 17 00:00:00 2001 From: Tamas Gal Date: Fri, 17 Oct 2025 12:44:27 +0200 Subject: [PATCH] Add CI to galt branch --- .../workflows/galt-test-frontend-build.yaml | 33 +++++++++++++++++++ .gitea/workflows/gat-test-backend-build.yaml | 33 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 .gitea/workflows/galt-test-frontend-build.yaml create mode 100644 .gitea/workflows/gat-test-backend-build.yaml diff --git a/.gitea/workflows/galt-test-frontend-build.yaml b/.gitea/workflows/galt-test-frontend-build.yaml new file mode 100644 index 0000000..b83c161 --- /dev/null +++ b/.gitea/workflows/galt-test-frontend-build.yaml @@ -0,0 +1,33 @@ +name: Build Feedmee Next.js Frontend App + +defaults: + run: + working-directory: ./feedmee + +on: + push: + branches: + - galt + +jobs: + build-and-push: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Log in to Gitea Container Registry + uses: docker/login-action@v3 + with: + registry: ${{vars.REGISTRY_URL}} + username: ${{vars.ACTOR}} + password: ${{secrets.TOKEN}} + + - name: Build Docker image + run: | + docker build -f Dockerfile -t ${{vars.REGISTRY_URL}}/${{github.repository}}-frontend-galt-test:latest . + + - name: Push Docker image + run: | + docker push ${{vars.REGISTRY_URL}}/${{github.repository}}-frontend-galt-test:latest diff --git a/.gitea/workflows/gat-test-backend-build.yaml b/.gitea/workflows/gat-test-backend-build.yaml new file mode 100644 index 0000000..63c751b --- /dev/null +++ b/.gitea/workflows/gat-test-backend-build.yaml @@ -0,0 +1,33 @@ +name: Build Feedmee Go Backend App + +defaults: + run: + working-directory: ./backend + +on: + push: + branches: + - galt + +jobs: + build-and-push: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Log in to Gitea Container Registry + uses: docker/login-action@v3 + with: + registry: ${{vars.REGISTRY_URL}} + username: ${{vars.ACTOR}} + password: ${{secrets.TOKEN}} + + - name: Build Docker image + run: | + docker build -f Dockerfile -t ${{vars.REGISTRY_URL}}/${{github.repository}}-backend-galt-test:latest . + + - name: Push Docker image + run: | + docker push ${{vars.REGISTRY_URL}}/${{github.repository}}-backend-galt-test:latest