Skip to content

Commit be335c3

Browse files
committed
ci(build): implement github repository container images
fix #370
1 parent c25c5ca commit be335c3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ jobs:
6161
COMMIT_TAG=${{ github.sha }}
6262
tags: |
6363
fallenbagel/jellyseerr:develop
64+
- name: Tag and push to GitHub Container Registry
65+
run: |
66+
docker tag fallenbagel/jellyseerr:develop ghcr.io/${{ github.repository_owner }}/jellyseerr:develop
67+
docker push ghcr.io/${{ github.repository_owner }}/jellyseerr:develop
6468
6569
discord:
6670
name: Send Discord Notification

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json
3636

3737
FROM node:18.18-alpine
3838

39+
# Metadata for Github Package Registry
40+
LABEL org.opencontainers.image.source="https://github.com/Fallenbagel/jellyseerr"
41+
3942
WORKDIR /app
4043

4144
RUN apk add --no-cache tzdata tini && rm -rf /tmp/*

0 commit comments

Comments
 (0)