From 986ad8276a0e94178926b2994c8c29578ff62a4e Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Wed, 18 Sep 2019 12:03:30 -0300 Subject: [PATCH] build minimal image --- .drone.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.drone.yml b/.drone.yml index d33158a..7b24f81 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,31 @@ steps: - name: build image: eumau/drone-plugin-make + - name: setup-minimal + image: debian:buster-slim + commands: + - source unit/version && echo "${NXT_VERSION}-minimal" > .tags + + - name: setup-minimal + image: debian:buster-slim + commands: + - source unit/version && echo "latest-minimal" >> .tags + when: + branch: + - master + + - name: docker + image: plugins/docker + settings: + repo: eumau/nginx-unit + username: + from_secret: dockerhub_username + password: + from_secret: dockerhub_password + when: + branch: + - master + - name: setup-php7.3 image: debian:buster-slim commands: @@ -30,3 +55,4 @@ steps: when: branch: - master +