Skip to content

debug: surface library items excluded for an unexpected Jellyfin item… #51

debug: surface library items excluded for an unexpected Jellyfin item…

debug: surface library items excluded for an unexpected Jellyfin item… #51

name: Build and Publish Dev Image to GHCR
on:
push:
branches:
- personnal
permissions:
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lowercase image name
id: image
run: echo "name=$(echo 'ghcr.io/${{ github.repository_owner }}/suggestarr:dev' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.image.outputs.name }}
cache-from: type=gha
cache-to: type=gha,mode=max