Files
jellyfin-init/.drone.yml
Gyorgy Berenyi 4ee0771ef0
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml
2025-08-24 06:50:29 +00:00

48 lines
1.1 KiB
YAML

kind: pipeline
type: kubernetes
name: default
node_selector:
physical-node: dev1
trigger:
branch:
- main
event:
- push
workspace:
path: /drone/src
steps:
- 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
- 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