Mauro Torrez 7734f377c7
Some checks failed
continuous-integration/drone/push Build is failing
fix make settings
2019-09-18 13:08:22 -03:00

70 lines
1.5 KiB
YAML

---
kind: pipeline
name: default
steps:
- name: submodule
image: alpine/git
commands:
- git submodule init
- git submodule update
- name: build
image: eumau/drone-plugin-make
settings:
targets:
- dockerfiles
- name: version-minimal
image: debian:buster-slim
commands:
- bash -c 'source unit/version && echo "${NXT_VERSION}-minimal" > .tags'
- name: latest-minimal
image: debian:buster-slim
commands:
- bash -c 'source unit/version && echo "latest-minimal" >> .tags'
- ls -lha
when:
branch:
- master
- name: docker-minimal
image: plugins/docker
settings:
repo: eumau/nginx-unit
dockerfile: Dockerfile.minimal
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
when:
branch:
- master
- name: version-php7.3
image: debian:buster-slim
commands:
- bash -c 'source unit/version && echo "${NXT_VERSION}-php7.3" > .tags'
- name: latest-php7.3
image: debian:buster-slim
commands:
- bash -c 'source unit/version && echo "latest-php7.3" >> .tags'
when:
branch:
- master
- name: docker-php7.3
image: plugins/docker
settings:
repo: eumau/nginx-unit
dockerfile: Dockerfile.php7.3
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
when:
branch:
- master