ci: docker images per action bauen und pushen
CI / backend-tests (push) Failing after 8s
CI / docker (push) Skipped
Docker images / backend (push) Failing after 1m40s
Docker images / frontend (push) Failing after 3s

This commit is contained in:
loki committed 2026-10-04 10:30:11 +02:00
1 parent 2986af6a6c
commit 07f28107b3
1 file changed
+49
+49
View File
@@ -0,0 +1,49 @@
name: Docker images
on:
push:
branches: [main]
tags: ["v*"]
workflow_dispatch:
env:
REGISTRY: gitea.lokcal.de
jobs:
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push backend
uses: docker/build-push-action@v6
with:
context: ./backend
push: true
tags: |
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/streamrip-ui-backend:latest
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/streamrip-ui-backend:${{ gitea.sha }}
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push frontend
uses: docker/build-push-action@v6
with:
context: ./frontend
push: true
tags: |
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/streamrip-ui-frontend:latest
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/streamrip-ui-frontend:${{ gitea.sha }}