Some checks failed
Build and Push to Gitea Registry / publish-images (push) Failing after 2m4s
31 lines
798 B
YAML
31 lines
798 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: Login to Gitea Registry
|
|
uses: actions/docker/login@v1
|
|
with:
|
|
registry: repo.eldiaservicios.com
|
|
username: ${{ gitea.actor }}
|
|
password: ${{ gitea.token }}
|
|
|
|
- name: Build and Push Backend
|
|
uses: actions/docker/build-push@v1
|
|
with:
|
|
context: ./Backend
|
|
image: ${{ gitea.repository_owner }}/lab-backend
|
|
tags: latest
|
|
|
|
- name: Build and Push Frontend
|
|
uses: actions/docker/build-push@v1
|
|
with:
|
|
context: ./Frontend
|
|
image: ${{ gitea.repository_owner }}/lab-frontend
|
|
tags: latest |