Skip to content

Commit

Permalink
Merge pull request #40 from Georift/add-container-builds
Browse files Browse the repository at this point in the history
Add CI to build container images, and move the images to Github
  • Loading branch information
Georift authored Oct 6, 2024
2 parents 83bf770 + 7da79dc commit b9ea513
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ci

permissions:
packages: write

on:
push:
branches:
- 'main'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Generate tags and labels
uses: docker/metadata-action@v5
id: meta
with:
images: ghcr.io/Georift/install-jellyfin-tizen
tags: |
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up Docker Buildx
uses: docker/[email protected]

- name: Build and push Docker image
uses: docker/[email protected]
with:
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ For documentation about the Jellyfin app, see [here](https://github.com/jellyfin
- If you do not want to use either of these options and just install the default build, do not put anything after the IP address.

```bash
docker run --rm georift/install-jellyfin-tizen <samsung tv ip> <build option> <tag url>
docker run --rm ghcr.io/georift/install-jellyfin-tizen <samsung tv ip> <build option> <tag url>
```

Example:

```bash
docker run --rm georift/install-jellyfin-tizen 192.168.0.10 Jellyfin-TrueHD "https://github.com/jeppevinkel/jellyfin-tizen-builds/releases/tag/2024-05-13-0139"
docker run --rm ghcr.io/georift/install-jellyfin-tizen 192.168.0.10 Jellyfin-TrueHD "https://github.com/jeppevinkel/jellyfin-tizen-builds/releases/tag/2024-05-13-0139"
```

### Validating Success
Expand Down Expand Up @@ -62,7 +62,7 @@ like the Raspberry Pi, which run ARM chips, are not yet supported, but
Add `--ulimit nofile=1024:65536` to the `docker run` command:

```bash
docker run --ulimit nofile=1024:65536 --rm georift/install-jellyfin-tizen <samsung tv ip> <build option> <tag url>
docker run --ulimit nofile=1024:65536 --rm ghcr.io/georift/install-jellyfin-tizen <samsung tv ip> <build option> <tag url>
```

- `install failed[118, -11], reason: Author certificate not match :`
Expand Down

0 comments on commit b9ea513

Please sign in to comment.