Some checks failed
Build and Push to Gitea Registry / publish-images (push) Failing after 11m29s
34 lines
931 B
YAML
34 lines
931 B
YAML
name: Build and Push to Gitea Registry
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
publish-images:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
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: repo.eldiaservicios.com
|
|
username: ${{ gitea.actor }}
|
|
password: ${{ gitea.token }}
|
|
|
|
- name: Build and Push Backend
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: ./Backend
|
|
push: true
|
|
tags: repo.eldiaservicios.com/${{ gitea.repository_owner }}/lab-backend:latest
|
|
|
|
- name: Build and Push Frontend
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: ./Frontend
|
|
push: true
|
|
tags: repo.eldiaservicios.com/${{ gitea.repository_owner }}/lab-frontend:latest |