anatid-blog/.gitea/workflows/workflow.yaml
Phill Pover 051d52e75d
Some checks failed
Anatid Blog CI Workflow / docker (push) Failing after 9s
Debugging build
2025-03-27 10:14:30 +00:00

37 lines
1.0 KiB
YAML

name: Anatid Blog CI Workflow
run-name: ${{ gitea.actor }} is running Anatid Blog Workflow
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: show dir contents
run: ls -al
- name: Login to container registry
uses: docker/login-action@v3
with:
registry: git.anatid.net
username: ${{ vars.REPO_USERNAME }}
password: ${{ secrets.REPO_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build backend
run: cd ./backend
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: git.anatid.net/tabris/anatid-blog-backend:latest
- name: Build frontend
run: cd ../frontend
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: git.anatid.net/tabris/anatid-blog-frontend:latest