mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-12-04 12:23:29 +00:00
chore: push docker images to ghcr.io
This commit is contained in:
parent
8ec9276a18
commit
a456b44fc9
4
.github/workflows/Dockerfile.nginx
vendored
4
.github/workflows/Dockerfile.nginx
vendored
@ -2,6 +2,10 @@
|
||||
# built in the host in order to be created and deployed
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
LABEL maintainer "Jellyfin Packaging Team - packaging@jellyfin.org"
|
||||
LABEL org.opencontainers.image.source https://github.com/jellyfin/jellyfin-vue
|
||||
|
||||
COPY dist/ /usr/share/nginx/html/
|
||||
COPY .docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY .docker/mime.types /etc/nginx/mime.types
|
||||
|
3
.github/workflows/Dockerfile.ssr
vendored
3
.github/workflows/Dockerfile.ssr
vendored
@ -3,6 +3,9 @@
|
||||
|
||||
FROM node:14-alpine
|
||||
|
||||
LABEL maintainer "Jellyfin Packaging Team - packaging@jellyfin.org"
|
||||
LABEL org.opencontainers.image.source https://github.com/jellyfin/jellyfin-vue
|
||||
|
||||
COPY .docker/package.json ./.docker/nuxt.config.js ./
|
||||
COPY .nuxt ./.nuxt
|
||||
COPY static ./static
|
||||
|
24
.github/workflows/docker-release.yml
vendored
24
.github/workflows/docker-release.yml
vendored
@ -51,6 +51,13 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Build and push stable SSR images
|
||||
if: github.event.action == 'released'
|
||||
uses: docker/build-push-action@v2
|
||||
@ -64,6 +71,10 @@ jobs:
|
||||
jellyfin/jellyfin-vue:stable-ssr
|
||||
jellyfin/jellyfin-vue:stable-ssr.${{ github.event.release.tag_name }}
|
||||
jellyfin/jellyfin-vue:latest
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable-ssr
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable-ssr.${{ github.event.release.tag_name }}
|
||||
ghcr.io/jellyfin/jellyfin-vue:latest
|
||||
|
||||
- name: Build and push release candidate SSR images
|
||||
if: github.event.action == 'prereleased'
|
||||
@ -76,6 +87,8 @@ jobs:
|
||||
tags: |
|
||||
jellyfin/jellyfin-vue:stable-rc-ssr
|
||||
jellyfin/jellyfin-vue:stable-rc-ssr.${{ github.event.release.tag_name }}
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable-rc-ssr
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable-rc-ssr.${{ github.event.release.tag_name }}
|
||||
|
||||
static:
|
||||
name: Build static images
|
||||
@ -121,6 +134,13 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Build and push stable static images
|
||||
if: github.event.action == 'released'
|
||||
uses: docker/build-push-action@v2
|
||||
@ -132,6 +152,8 @@ jobs:
|
||||
tags: |
|
||||
jellyfin/jellyfin-vue:stable-static
|
||||
jellyfin/jellyfin-vue:stable-static.${{ github.event.release.tag_name }}
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable-static
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable-static.${{ github.event.release.tag_name }}
|
||||
|
||||
- name: Build and push release candidate static images
|
||||
if: github.event.action == 'prereleased'
|
||||
@ -144,3 +166,5 @@ jobs:
|
||||
tags: |
|
||||
jellyfin/jellyfin-vue:stable-rc-static
|
||||
jellyfin/jellyfin-vue:stable-rc-static.${{ github.event.release.tag_name }}
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable-rc-static
|
||||
ghcr.io/jellyfin/jellyfin-vue:stable-rc-static.${{ github.event.release.tag_name }}
|
||||
|
19
.github/workflows/docker.yml
vendored
19
.github/workflows/docker.yml
vendored
@ -57,6 +57,13 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Build images and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
@ -68,6 +75,9 @@ jobs:
|
||||
jellyfin/jellyfin-vue:unstable
|
||||
jellyfin/jellyfin-vue:unstable-ssr
|
||||
jellyfin/jellyfin-vue:unstable-ssr.${{ steps.date.outputs.date }}.${{ env.SHORT_SHA }}
|
||||
ghcr.io/jellyfin/jellyfin-vue:unstable
|
||||
ghcr.io/jellyfin/jellyfin-vue:unstable-ssr
|
||||
ghcr.io/jellyfin/jellyfin-vue:unstable-ssr.${{ steps.date.outputs.date }}.${{ env.SHORT_SHA }}
|
||||
|
||||
static:
|
||||
name: Build static images
|
||||
@ -120,6 +130,13 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Build images and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
@ -130,3 +147,5 @@ jobs:
|
||||
tags: |
|
||||
jellyfin/jellyfin-vue:unstable-static
|
||||
jellyfin/jellyfin-vue:unstable-static.${{ steps.date.outputs.date }}.${{ env.SHORT_SHA }}
|
||||
ghcr.io/jellyfin/jellyfin-vue:unstable-static
|
||||
ghcr.io/jellyfin/jellyfin-vue:unstable-static.${{ steps.date.outputs.date }}.${{ env.SHORT_SHA }}
|
||||
|
Loading…
Reference in New Issue
Block a user