Docker image CI build (#43)
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #43
This commit is contained in:
parent
3d40035f6b
commit
2dff7ebeaa
22
.drone.yml
22
.drone.yml
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: app-check
|
name: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-deps
|
- name: build-deps
|
||||||
|
@ -30,3 +30,23 @@ steps:
|
||||||
- pull_request
|
- pull_request
|
||||||
branch:
|
branch:
|
||||||
exclude: master
|
exclude: master
|
||||||
|
- name: build-docker
|
||||||
|
# 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
|
||||||
|
# https://docs.drone.io/pipeline/environment/reference/
|
||||||
|
- ${DRONE_COMMIT_SHA:0:10}
|
||||||
|
- ${DRONE_TAG}
|
||||||
|
|
Loading…
Reference in a new issue