Skip to content

Commit

Permalink
Release docker image on tag hook
Browse files Browse the repository at this point in the history
  • Loading branch information
eirsyl committed Mar 3, 2017
1 parent deaf5dd commit dcf7365
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ pipeline:
docker:
image: plugins/docker
when:
branch: release
event: push
event: tag
repo: abakus/abacash-api
tag: latest
tags:
- ${DRONE_TAG##v}
- latest

slack:
image: plugins/slack
when:
status: [ success, failure ]
event: push
event: [ push, tag ]
channel: abacash

services:
Expand Down
2 changes: 1 addition & 1 deletion .drone.yml.sig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgdGVzdHM6CiAgICBpbWFnZTogbm9kZTo2CiAgICB3aGVuOgogICAgICBldmVudDogcHVzaAogICAgZW52aXJvbm1lbnQ6CiAgICAgIC0gTk9ERV9FTlY9dGVzdAogICAgY29tbWFuZHM6CiAgICAgIC0gbnBtIGluc3RhbGwgLWcgeWFybgogICAgICAtIHlhcm4KCiAgICAgIC0geWFybiB0ZXN0IC0tIC0tdGltZW91dCAwCiAgICAgIC0geWFybiBydW4gbGludAogICAgICAtIHlhcm4gY292ZXJhZ2UKCiAgZG9ja2VyOgogICAgaW1hZ2U6IHBsdWdpbnMvZG9ja2VyCiAgICB3aGVuOgogICAgICBicmFuY2g6IHJlbGVhc2UKICAgICAgZXZlbnQ6IHB1c2gKICAgIHJlcG86IGFiYWt1cy9hYmFjYXNoLWFwaQogICAgdGFnOiBsYXRlc3QKCiAgc2xhY2s6CiAgICBpbWFnZTogcGx1Z2lucy9zbGFjawogICAgd2hlbjoKICAgICAgc3RhdHVzOiBbIHN1Y2Nlc3MsIGZhaWx1cmUgXQogICAgICBldmVudDogcHVzaAogICAgY2hhbm5lbDogYWJhY2FzaAoKc2VydmljZXM6CiAgZGF0YWJhc2U6CiAgICBpbWFnZTogcG9zdGdyZXM6OS41CiAgICBlbnZpcm9ubWVudDoKICAgICAgLSBQT1NUR1JFU19VU0VSPWFiYWNhc2gK.IszGYAKvpaWlsz11h29mRdGboFW1D2UZG1rY_tytpgI
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgdGVzdHM6CiAgICBpbWFnZTogbm9kZTo2CiAgICB3aGVuOgogICAgICBldmVudDogcHVzaAogICAgZW52aXJvbm1lbnQ6CiAgICAgIC0gTk9ERV9FTlY9dGVzdAogICAgY29tbWFuZHM6CiAgICAgIC0gbnBtIGluc3RhbGwgLWcgeWFybgogICAgICAtIHlhcm4KCiAgICAgIC0geWFybiB0ZXN0IC0tIC0tdGltZW91dCAwCiAgICAgIC0geWFybiBydW4gbGludAogICAgICAtIHlhcm4gY292ZXJhZ2UKCiAgZG9ja2VyOgogICAgaW1hZ2U6IHBsdWdpbnMvZG9ja2VyCiAgICB3aGVuOgogICAgICBldmVudDogdGFnCiAgICByZXBvOiBhYmFrdXMvYWJhY2FzaC1hcGkKICAgIHRhZ3M6CiAgICAgIC0gJHtEUk9ORV9UQUcjI3Z9CiAgICAgIC0gbGF0ZXN0CgogIHNsYWNrOgogICAgaW1hZ2U6IHBsdWdpbnMvc2xhY2sKICAgIHdoZW46CiAgICAgIHN0YXR1czogWyBzdWNjZXNzLCBmYWlsdXJlIF0KICAgICAgZXZlbnQ6IFsgcHVzaCwgdGFnIF0KICAgIGNoYW5uZWw6IGFiYWNhc2gKCnNlcnZpY2VzOgogIGRhdGFiYXNlOgogICAgaW1hZ2U6IHBvc3RncmVzOjkuNQogICAgZW52aXJvbm1lbnQ6CiAgICAgIC0gUE9TVEdSRVNfVVNFUj1hYmFjYXNoCg.bp_dRnqCkIqx3Bs2oHin2er0ayY8hY58EyrukMKbidI

0 comments on commit dcf7365

Please sign in to comment.