undo that last commit...
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Daniel Wolf 2021-04-30 15:18:58 -04:00
parent a391882273
commit a50b614cd6
Signed by: nephatrine
GPG Key ID: F402AF4822FB01F5
3 changed files with 18 additions and 10 deletions

View File

@ -8,13 +8,19 @@ platform:
arch: amd64
steps:
- name: build-testing
- name: build-0.30
commands:
- 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
- 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
---
kind: pipeline
@ -42,6 +48,6 @@ trigger:
---
kind: signature
hmac: 5de34f89c59b9714d6692c33bd8d715cdb4a5013dd617c4c97354f673d229689
hmac: 431af154f92e3b2531db94ecbf84441da20cc8413ce7bbef1af8d0bc0f99485e
...

View File

@ -1,13 +1,15 @@
FROM nephatrine/nginx-php:testing
FROM nephatrine/nginx-php:latest
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 --depth=1 https://github.com/lrsjng/h5ai.git && cd /usr/src/h5ai \
&& git -C /usr/src clone -b "$H5AI_VERSION" --single-branch --depth=1 https://github.com/lrsjng/h5ai.git && cd /usr/src/h5ai \
&& npm install \
&& npm run build \
&& unzip build/*.zip -d /var/www/html/ \

View File

@ -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/testing)](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/master)](https://ci.nephatrine.net/nephatrine/docker-nginx-h5ai)
# H5AI Web Index