Mauro Torrez 1c48837253
All checks were successful
continuous-integration/drone/push Build is passing
fixed version tags
2019-09-18 14:53:59 -03:00

69 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 && export NXT_VERSION && echo -n "$${NXT_VERSION}-minimal" > .tags'
- name: latest-minimal
image: debian:buster-slim
commands:
- bash -c 'echo -n ",latest-minimal" >> .tags'
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 && export NXT_VERSION && echo -n "$${NXT_VERSION}-php7.3" > .tags'
- name: latest-php7.3
image: debian:buster-slim
commands:
- bash -c 'echo -n ",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