Adding pipelines workflow
Some checks failed
Anatid Blog CI Workflow / docker (push) Failing after 6s
Some checks failed
Anatid Blog CI Workflow / docker (push) Failing after 6s
This commit is contained in:
parent
9c5cfa991e
commit
81621cb063
32
.gitea/workflows/workflow.yaml
Normal file
32
.gitea/workflows/workflow.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Anatid Blog CI Workflow
|
||||||
|
run-name: ${{ gitea.actor }} is running Anatid Blog Workflow
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Login to container registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.anatid.net
|
||||||
|
username: ${{ vars.GITEA_USERNAME }}
|
||||||
|
password: ${{ secrets.GITEA_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: 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: tabris/anatid-blog-frontend:latest
|
Loading…
x
Reference in New Issue
Block a user