Compare commits
17 Commits
ede815801e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| ce2be65089 | |||
| af457c92f9 | |||
| 667fe5ff08 | |||
| 1fe4538bf4 | |||
| 01dfa33f33 | |||
| 6a218703b8 | |||
| 424ff35b5f | |||
| fb1a004ad8 | |||
| 05883a69c1 | |||
| ed4495b6a6 | |||
| 0a9789f873 | |||
| bcedf81920 | |||
| 34c7700764 | |||
| 1d3ff08b22 | |||
| 4651eb8d48 | |||
| bd54245a51 | |||
| e96b9bce3e |
47
.drone.yml
47
.drone.yml
@@ -1,25 +1,42 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
type: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: write_tags
|
- name: build_amd64
|
||||||
image: busybox
|
|
||||||
commands:
|
|
||||||
- grep "ENV VERSION" Dockerfile | cut -d '=' -f2 > .tags
|
|
||||||
|
|
||||||
- name: build_and_deploy_samservices
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
username: samservices
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
repo: registry.samservices.de/subsonic
|
|
||||||
registry: registry.samservices.de
|
|
||||||
|
|
||||||
- name: build_and_deploy_hub_docker
|
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
username: unclesamwk
|
username: unclesamwk
|
||||||
password:
|
password:
|
||||||
from_secret: docker_hub_password
|
from_secret: docker_hub_password
|
||||||
repo: unclesamwk/subsonic
|
repo: unclesamwk/subsonic
|
||||||
|
build_args:
|
||||||
|
- BUILD_ARCH=amd64
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- amd64
|
||||||
|
- '6.1.6'
|
||||||
|
|
||||||
|
- name: build_arm32v7
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username: unclesamwk
|
||||||
|
password:
|
||||||
|
from_secret: docker_hub_password
|
||||||
|
repo: unclesamwk/subsonic
|
||||||
|
build_args:
|
||||||
|
- BUILD_ARCH=arm32v7
|
||||||
|
tags:
|
||||||
|
- arm32v7
|
||||||
|
|
||||||
|
- name: build_arm64
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username: unclesamwk
|
||||||
|
password:
|
||||||
|
from_secret: docker_hub_password
|
||||||
|
repo: unclesamwk/subsonic
|
||||||
|
build_args:
|
||||||
|
- BUILD_ARCH=arm64v8
|
||||||
|
tags:
|
||||||
|
- arm64v8
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
FROM alpine:edge
|
ARG BUILD_ARCH
|
||||||
|
|
||||||
|
FROM ${BUILD_ARCH}/alpine:edge
|
||||||
MAINTAINER Samuel Warkentin <sam@sam-services.de>
|
MAINTAINER Samuel Warkentin <sam@sam-services.de>
|
||||||
|
|
||||||
|
ARG ARCH=arm64
|
||||||
|
|
||||||
RUN apk --update add openjdk8-jre ffmpeg supervisor
|
RUN apk --update add openjdk8-jre ffmpeg supervisor
|
||||||
|
|
||||||
ENV VERSION=5.3
|
ENV VERSION=6.1.6
|
||||||
|
|
||||||
RUN wget http://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-$VERSION-standalone.tar.gz -O subsonic.tar.gz
|
RUN wget http://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-$VERSION-standalone.tar.gz -O subsonic.tar.gz
|
||||||
RUN tar xvfz subsonic.tar.gz && rm -f subsonic.tar.gz
|
RUN tar xvfz subsonic.tar.gz && rm -f subsonic.tar.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user