Create container.yml

This commit is contained in:
ConfusedPolarBear 2022-06-16 17:25:43 -05:00 committed by GitHub
parent a1f1faba82
commit 6b797387a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

40
.github/workflows/container.yml vendored Normal file
View File

@ -0,0 +1,40 @@
name: Rebuild container
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Checkout modified web interface
uses: actions/checkout@v3
with:
repository: https://github.com/ConfusedPolarBear/jellyfin-web
ref: intros
path: web
- name: Build and copy web interface
run: |
cd web
npm install
cp -r dist ../docker/
- name: Build container
uses: docker/build-push-action@v3.0.0
with:
file: docker/Dockerfile
context: docker/