add testing branch
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
d7dc59bfd4
commit
a391882273
20
.drone.yml
20
.drone.yml
|
@ -8,19 +8,13 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build-0.30
|
||||
- name: build-testing
|
||||
commands:
|
||||
- docker build --pull -t nephatrine/nginx-h5ai:0.30 .
|
||||
- HOME=/mnt/config/home docker push nephatrine/nginx-h5ai:0.30
|
||||
- name: build-latest
|
||||
commands:
|
||||
- docker tag nephatrine/nginx-h5ai:0.30 pdr.nephatrine.net/nephatrine/nginx-h5ai:latest
|
||||
- HOME=/mnt/config/home docker push pdr.nephatrine.net/nephatrine/nginx-h5ai:latest
|
||||
- docker tag pdr.nephatrine.net/nephatrine/nginx-h5ai:latest nephatrine/nginx-h5ai:latest
|
||||
- HOME=/mnt/config/home docker push nephatrine/nginx-h5ai:latest
|
||||
- docker rmi pdr.nephatrine.net/nephatrine/nginx-h5ai:latest
|
||||
depends_on:
|
||||
- build-0.30
|
||||
- docker build --pull -t pdr.nephatrine.net/nephatrine/nginx-h5ai:testing .
|
||||
- HOME=/mnt/config/home docker push pdr.nephatrine.net/nephatrine/nginx-h5ai:testing
|
||||
- docker tag pdr.nephatrine.net/nephatrine/nginx-h5ai:testing nephatrine/nginx-h5ai:testing
|
||||
- HOME=/mnt/config/home docker push nephatrine/nginx-h5ai:testing
|
||||
- docker rmi pdr.nephatrine.net/nephatrine/nginx-h5ai:testing
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -48,6 +42,6 @@ trigger:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 431af154f92e3b2531db94ecbf84441da20cc8413ce7bbef1af8d0bc0f99485e
|
||||
hmac: 5de34f89c59b9714d6692c33bd8d715cdb4a5013dd617c4c97354f673d229689
|
||||
|
||||
...
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
FROM nephatrine/nginx-php:latest
|
||||
FROM nephatrine/nginx-php:testing
|
||||
LABEL maintainer="Daniel Wolf <nephatrine@gmail.com>"
|
||||
|
||||
RUN echo "====== INSTALL PACKAGES ======" \
|
||||
&& apk add ffmpeg imagemagick zip \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
ARG H5AI_VERSION=v0.30.0
|
||||
|
||||
RUN echo "====== COMPILE H5AI ======" \
|
||||
&& apk add --virtual .build-h5ai git nodejs-npm \
|
||||
&& git -C /usr/src clone -b "$H5AI_VERSION" --single-branch --depth=1 https://github.com/lrsjng/h5ai.git && cd /usr/src/h5ai \
|
||||
&& git -C /usr/src clone --depth=1 https://github.com/lrsjng/h5ai.git && cd /usr/src/h5ai \
|
||||
&& npm install \
|
||||
&& npm run build \
|
||||
&& unzip build/*.zip -d /var/www/html/ \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
[Docker](https://hub.docker.com/r/nephatrine/nginx-h5ai/) |
|
||||
[unRAID](https://code.nephatrine.net/nephatrine/unraid-containers)
|
||||
|
||||
[![Build Status](https://ci.nephatrine.net/api/badges/nephatrine/docker-nginx-h5ai/status.svg?ref=refs/heads/master)](https://ci.nephatrine.net/nephatrine/docker-nginx-h5ai)
|
||||
[![Build Status](https://ci.nephatrine.net/api/badges/nephatrine/docker-nginx-h5ai/status.svg?ref=refs/heads/testing)](https://ci.nephatrine.net/nephatrine/docker-nginx-h5ai)
|
||||
|
||||
# H5AI Web Index
|
||||
|
||||
|
|
Loading…
Reference in New Issue