Skip to content

Merge pull request #53 from daniel-sanche/letterboxed_likes #47

Merge pull request #53 from daniel-sanche/letterboxed_likes

Merge pull request #53 from daniel-sanche/letterboxed_likes #47

Workflow file for this run

name: Publish Docker image
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
multi_push_to_registry:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: set lower case owner name
run: |
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
env:
OWNER: '${{ github.repository_owner }}'
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ env.OWNER_LC }}/jellyfin-auto-collections:latest
ghcr.io/${{ env.OWNER_LC }}/jellyfin-auto-collections:${{ github.sha }}