fix: improve docker pushing with version #141

Merged
jank merged 3 commits from improve-docker-a-bit into main 2025-04-24 10:42:29 +00:00
Showing only changes of commit d2560c6049 - Show all commits

View file

@ -1,25 +0,0 @@
name: Deploy
on:
push:
branches:
- "main"
paths:
- "backend/**"
jobs:
build-image:
runs-on: ubuntu-latest
name: Build Docker Image
steps:
- name: Checkout
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
uses: docker/login-action@v3
with:
registry: git.kjan.de
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Push
run: docker push git.kjan.de/szut/casino-backend:latest