drone build for php7.3

This commit is contained in:
Mauro Torrez 2019-09-18 12:00:03 -03:00
parent 7d14c0b1d6
commit 394c395923

View File

@ -6,34 +6,27 @@ steps:
- name: build
image: eumau/drone-plugin-make
- name: setup-php7.3
image: debian:buster-slim
commands:
- source unit/version && echo "${NXT_VERSION}-php7.3" > .tags
- name: setup-php7.3
image: debian:buster-slim
commands:
- source unit/version && echo "latest-php7.3" >> .tags
when:
branch:
- master
- name: docker
image: plugins/docker
settings:
repo: eumau/debian
auto_tag: true
repo: eumau/nginx-unit
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
---
kind: pipeline
name: tags
steps:
- name: docker
image: plugins/docker
settings:
repo: eumau/debian
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
tags:
- ${DRONE_TAG}
build_args:
- DEBIAN_VERSION=${DRONE_TAG}
trigger:
event:
- tag
when:
branch:
- master