Link container image to repo
All checks were successful
docker / build-and-push (push) Successful in 18s
All checks were successful
docker / build-and-push (push) Successful in 18s
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user