From be335c39be6cc3e0ad938ad54798c102ee58133f Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Wed, 8 Nov 2023 04:57:20 +0500 Subject: [PATCH] ci(build): implement github repository container images fix #370 --- .github/workflows/ci.yml | 4 ++++ Dockerfile | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8893e8f78..3956cac52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,10 @@ jobs: COMMIT_TAG=${{ github.sha }} tags: | fallenbagel/jellyseerr:develop + - name: Tag and push to GitHub Container Registry + run: | + docker tag fallenbagel/jellyseerr:develop ghcr.io/${{ github.repository_owner }}/jellyseerr:develop + docker push ghcr.io/${{ github.repository_owner }}/jellyseerr:develop discord: name: Send Discord Notification diff --git a/Dockerfile b/Dockerfile index 949bf5962..270155ed7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,9 @@ RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json FROM node:18.18-alpine +# Metadata for Github Package Registry +LABEL org.opencontainers.image.source="https://github.com/Fallenbagel/jellyseerr" + WORKDIR /app RUN apk add --no-cache tzdata tini && rm -rf /tmp/*