Skip to content

Merge pull request #54 from shford/main #6

Merge pull request #54 from shford/main

Merge pull request #54 from shford/main #6

Workflow file for this run

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/setup-buildx-action@v3.3.0
- name: Build and push Docker image
uses: docker/build-push-action@v5.3.0
with:
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}