casino/.gitea/workflows/deploy.yml
Workflow config file is invalid. Please check your config file: yaml: line 21: mapping values are not allowed in this context
csimonis 453fc719f7
All checks were successful
CI / Get Changed Files (pull_request) Successful in 33s
CI / eslint (pull_request) Successful in 37s
CI / prettier (pull_request) Successful in 35s
CI / Checkstyle Main (pull_request) Successful in 52s
CI / test-build (pull_request) Successful in 52s
feat(ci): add deployment workflow and update Dockerfile
2025-04-23 14:28:44 +02:00

21 lines
587 B
YAML

name: Deploy
on:
push:
branches:
- "main"
- "feat/deployment"
paths:
- "backend/**"
jobs:
build-image:
runs-on: ubuntu-latest
name: Build Docker Image
steps:
- uses: actions/checkout@v4
- name: Build Image
run: docker buildx build -f .docker/Dockerfile -t git.kjan.de/SZUT/casino-backend:latest .
- name: Login
run: echo ${DOCKER_PASS} | docker login git.kjan.de --username ${DOCKER_USER} --password-stdin
- name Push
run: docker push git.kja.de/SZUT/casino-backend:latest