Hayden Hargreaves 24a138065b
Some checks failed
Build and Push to Gitea / build-and-push (push) Failing after 14s
fix: maybe fixing this
2026-04-02 12:15:05 -07:00

40 lines
1.0 KiB
YAML

---
name: Build and Push to Gitea
on:
push:
branches: ["master"]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.GIT_DOMAIN }}
username: ${{ secrets.GIT_USERNAME }}
password: ${{ secrets.GIT_TOKEN }}
# Build and Push Go Backend
- name: Build and Push Backend
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ secrets.GITEA_DOMAIN }}/${{ secrets.GITEA_USERNAME }}resumelens/backend:latest
# Build and Push React Frontend
- name: Build and Push Frontend
uses: docker/build-push-action@v5
with:
context: ./web
push: true
tags: ${{ secrets.GITEA_DOMAIN }}/${{ secrets.GITEA_USERNAME }}/resumelens/frontend:latest