build(ci): use new hooks for docker release

This commit is contained in:
Nightapes
2020-01-05 19:02:20 +01:00
parent 8e3c446605
commit 113ddf2b1f
2 changed files with 44 additions and 54 deletions

View File

@@ -14,3 +14,10 @@ changelog:
docker:
latest: true
repository: "nightapes/go-semantic-release"
hooks:
preRelease:
- docker build -t nightapes/go-semantic-release:latest .
- docker build -t nightapes/go-semantic-release:$RELEASE_VERSION .
postRelease:
- docker push nightapes/go-semantic-release:latest
- docker push nightapes/go-semantic-release:$RELEASE_VERSION