--- kind: pipeline name: default steps: - name: submodule image: alpine/git commands: - git submodule init - git submodule update - name: build image: eumau/drone-plugin-make - 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