Adding Docker image build to Drone CI configuration.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Alexey Skobkin 2022-08-07 20:56:42 +03:00
parent 41b7eb32b6
commit c52ab29263
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -30,3 +30,22 @@ steps:
- pull_request
branch:
exclude: master
- name: docker-build
# https://github.com/drone/drone-plugin-index/blob/main/plugins/docker/original.md
image: plugins/docker
when:
branch:
- master
event:
- push
settings:
username:
from_secret: docker_username
password:
from_secret: docker_token
repo:
from_secret: docker_repo
tags:
- latest
- ${DRONE_COMMIT_SHA:0:10}
- ${DRONE_TAG}