feat(ci): add deployment workflow and update Dockerfile
All checks were successful
All checks were successful
This commit is contained in:
parent
b07a3a935a
commit
f51e338c1d
3 changed files with 38 additions and 22 deletions
16
.gitea/workflows/deploy.yml
Normal file
16
.gitea/workflows/deploy.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
paths:
|
||||
- "backend/**"
|
||||
|
||||
jobs:
|
||||
build-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build Docker Image
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build Docker Image
|
||||
run: docker buildx build -f .docker/Dockerfile -t git.kjan.de/SZUT/casino-backend .
|
Loading…
Add table
Add a link
Reference in a new issue