casino/.gitea/workflows/deploy.yml
Workflow config file is invalid. Please check your config file: yaml: line 20: mapping values are not allowed in this context
csimonis 25b7e90517
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / eslint (pull_request) Successful in 33s
CI / prettier (pull_request) Successful in 35s
CI / Checkstyle Main (pull_request) Successful in 48s
CI / test-build (pull_request) Successful in 45s
build: update Dockerfile path in deploy workflow
2025-04-23 14:33:11 +02:00

20 lines
587 B
YAML

name: Deploy
on:
push:
branches:
- "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 backend/.docker/Dockerfile -t git.kjan.de/SZUT/casino-backend:latest backend
- 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