Commit Inicial
Some checks failed
Build and Push to Gitea Registry / publish-images (push) Failing after 2m4s
Some checks failed
Build and Push to Gitea Registry / publish-images (push) Failing after 2m4s
This commit is contained in:
31
.gitea/workflows/build-images.yaml
Normal file
31
.gitea/workflows/build-images.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
Reference in New Issue
Block a user