Link container image to repo
All checks were successful
docker / build-and-push (push) Successful in 18s

This commit is contained in:
Space-Banane
2026-05-20 20:37:50 +02:00
parent 3991a01ec7
commit 038793731b
2 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ jobs:
with:
context: .
push: true
build-args: |
VCS_REF=${{ github.sha }}
VCS_URL=${{ github.server_url }}/${{ github.repository }}
tags: |
${{ secrets.REGISTRY }}/${{ secrets.IMAGE_NAME }}:latest
${{ secrets.REGISTRY }}/${{ secrets.IMAGE_NAME }}:${{ github.sha }}

View File

@@ -8,6 +8,12 @@ RUN npm install && npm run build:frontend
FROM python:3.12-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
ARG VCS_REF
ARG VCS_URL
LABEL org.opencontainers.image.title="Jellomator" \
org.opencontainers.image.description="A clean dashboard for Arr* suite links and custom service links" \
org.opencontainers.image.source="${VCS_URL}" \
org.opencontainers.image.revision="${VCS_REF}"
COPY backend ./backend
COPY --from=frontend /app/frontend/dist ./frontend/dist
RUN pip install --no-cache-dir -r backend/requirements.txt