This commit is contained in:
parent
078ef5b015
commit
c4565b8f24
10
.drone.yml
10
.drone.yml
@ -3,18 +3,10 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
tags:
|
|
||||||
- ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:${DRONE_COMMIT_SHA}
|
|
||||||
- ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:latest
|
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}
|
repo: ${docker_username}/${DRONE_REPO_NAME}
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_COMMIT_SHA}
|
- ${DRONE_COMMIT_SHA}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user