Add CI to galt branch
Some checks failed
Build Feedmee Next.js Frontend App / build-and-push (push) Successful in 2m31s
Build Feedmee Go Backend App / build-and-push (push) Failing after 12s

This commit is contained in:
2025-10-17 12:44:27 +02:00
parent 232e553c02
commit b8e5a2841f
2 changed files with 66 additions and 0 deletions

View File

@@ -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