Files
titan_react_node_sqllite/.gitea/workflows/ci.yaml
T
AI Bot 3b055aa0c4
Build and Deploy / build-and-push (push) Failing after 3m53s
ci: restore CI workflow to build and push docker images
2026-09-01 10:46:56 +05:30

37 lines
881 B
YAML

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