Skip to content

Commit

Permalink
ci(build): implement github repository container images
Browse files Browse the repository at this point in the history
fix #370
  • Loading branch information
Fallenbagel committed Nov 7, 2023
1 parent c25c5ca commit be335c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down

0 comments on commit be335c3

Please sign in to comment.