Skip to content

Commit

Permalink
ci: publish git commit Docker tags (#1413)
Browse files Browse the repository at this point in the history
* ci: publish git commit SHA tags

Signed-off-by: bndw <benjamindwoodward@gmail.com>

* ci: publish commit sha tags to gomods/athens-dev

Signed-off-by: bndw <benjamindwoodward@gmail.com>
  • Loading branch information
bndw authored and arschles committed Oct 15, 2019
1 parent cf47efe commit b325db6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,25 @@ steps:
event:
- push

- name: docker-latest-commit-sha
image: plugins/docker
settings:
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PASSWORD
repo: gomods/athens-dev
tags:
- ${DRONE_COMMIT:0:7}
dockerfile: cmd/proxy/Dockerfile
build_args:
- VERSION=${DRONE_COMMIT}
when:
branch:
- master
event:
- push

- name: docker-release
image: plugins/docker
settings:
Expand Down

0 comments on commit b325db6

Please sign in to comment.