anatid-blog/.gitea/workflows/workflow.yaml
Phill Pover f70a1b7a58
Some checks failed
Anatid Blog CI Workflow / docker (push) Failing after 20s
Adding checkout
2025-03-27 10:15:35 +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: Checkout
uses: actions/checkout@v4
- 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