Skip to content

Commit 2372bef

Browse files
committed
push version tagged docker image
1 parent 03b674c commit 2372bef

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.drone.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ steps:
4949
- docker tag harbor.zyra.ca/public/zmdocs:$BUILD_TAG harbor.zyra.ca/public/zmdocs:latest
5050
- docker push harbor.zyra.ca/public/zmdocs:latest
5151

52+
- name: Push version tagged image
53+
<<: *docker-step
54+
when:
55+
event:
56+
- tag
57+
commands:
58+
- *docker-auth
59+
- docker tag harbor.zyra.ca/public/zmdocs:$BUILD_TAG harbor.zyra.ca/public/zmdocs:$DRONE_TAG
60+
- docker push harbor.zyra.ca/public/zmdocs:$DRONE_TAG
61+
62+
5263
- name: Build binaries
5364
image: golang:1.12-alpine
5465
when:
@@ -77,6 +88,6 @@ steps:
7788
- sha512
7889
---
7990
kind: signature
80-
hmac: 3cbb60cb2db3499b575c80b6f1b9996ee3f89e4ff40ceb36e7ec3303e6bebbdd
91+
hmac: 7260f3ddf3577f9b83834a64b587b1cf6e8a5e055b38baef7413283c85f3bae1
8192

8293
...

0 commit comments

Comments
 (0)