mirror of
https://github.com/BluemediaGER/nginx-live.git
synced 2024-11-23 02:05:28 +01:00
Compare commits
No commits in common. "558f984f4341f7a24903cdf2b32eef9b1d4f09d2" and "709530a2b9b54b75519ad7ac75fd5563c55cdd40" have entirely different histories.
558f984f43
...
709530a2b9
19
.drone.yml
Normal file
19
.drone.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: nginx-live
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
pull_image: true
|
||||||
|
no_cache: true
|
||||||
|
repo: git.bluemedia.dev/bluemedia/nginx-live
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
purge: true
|
||||||
|
registry: git.bluemedia.dev
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
|
@ -1,25 +0,0 @@
|
||||||
steps:
|
|
||||||
docker:
|
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
|
||||||
secrets: [docker_username, docker_password]
|
|
||||||
settings:
|
|
||||||
pull_image: true
|
|
||||||
registry: git.bluemedia.dev
|
|
||||||
repo: git.bluemedia.dev/bluemedia/nginx-live
|
|
||||||
platforms: linux/amd64,linux/arm/v6,linux/arm64/v8
|
|
||||||
tag: latest
|
|
||||||
|
|
||||||
notify:
|
|
||||||
image: deblan/woodpecker-email
|
|
||||||
settings:
|
|
||||||
from.address:
|
|
||||||
from_secret: smtp_notify_email
|
|
||||||
from.name: Woodpecker CI
|
|
||||||
host:
|
|
||||||
from_secret: smtp_notify_host
|
|
||||||
username:
|
|
||||||
from_secret: smtp_notify_email
|
|
||||||
password:
|
|
||||||
from_secret: smtp_notify_password
|
|
||||||
when:
|
|
||||||
- status: [ failure ]
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Base Image used to create this Image
|
# Base Image used to create this Image
|
||||||
FROM bitnami/minideb:bullseye
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
# Maintainer
|
# Maintainer
|
||||||
LABEL maintainer="hi@bluemedia.dev"
|
LABEL maintainer="hi@bluemedia.dev"
|
||||||
|
@ -11,7 +11,12 @@ ENV HLS_FRAGMENT_LENGTH 3
|
||||||
ENV HLS_PLAYLIST_LENGTH 20
|
ENV HLS_PLAYLIST_LENGTH 20
|
||||||
|
|
||||||
# Update and install packages
|
# Update and install packages
|
||||||
RUN install_packages nginx libnginx-mod-rtmp
|
RUN apt update -y && \
|
||||||
|
apt upgrade -y && \
|
||||||
|
apt autoremove -y && \
|
||||||
|
apt install nginx libnginx-mod-rtmp -y && \
|
||||||
|
apt clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
# Create nginx user
|
# Create nginx user
|
||||||
RUN useradd -s /bin/false nginx
|
RUN useradd -s /bin/false nginx
|
||||||
|
|
Loading…
Reference in a new issue