Add Drone CI pipeline configuration and Docker setup for Jellyfin

This commit is contained in:
gyurix
2025-04-25 09:23:37 +02:00
parent 18cc9a4b4d
commit 11851bece3
3 changed files with 75 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
kind: pipeline
type: kubernetes
name: default
node_selector:
physical-node: dev1
trigger:
branch:
- main
event:
- push
workspace:
path: /drone/src
steps:
- name: build multiarch from dev
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
settings:
cache-from: [ "registry.dev.format.hu/jellyfin-init-container" ]
registry: registry.dev.format.hu
repo: registry.dev.format.hu/jellyfin-init-container
tags: latest
dockerfile: Dockerfile
username:
from_secret: dev-hu-registry-username
password:
from_secret: dev-hu-registry-password
platforms:
- linux/amd64
- linux/arm64
- name: pull image to dockerhub
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
settings:
cache-from: [ "safebox/jellyfin-init-container" ]
repo: safebox/jellyfin-init-container
tags: latest
username:
from_secret: dockerhub-username
password:
from_secret: dockerhub-password
platforms:
- linux/amd64
- linux/arm64