chore: don't build docker twice

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-05-11 23:49:16 +01:00
parent e58daaac83
commit 1e6a0939a2

View File

@ -74,13 +74,6 @@ workflows:
requires: requires:
- build-node - build-node
- lint - lint
- docker-latest:
context: deploy
requires:
- build-go
filters:
branches:
only: master
- release: - release:
context: deploy context: deploy
requires: requires:
@ -89,4 +82,13 @@ workflows:
branches: branches:
ignore: /.*/ ignore: /.*/
tags: tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/ only: /^v[0-9]+(\.[0-9]+)*$/
- docker-latest:
context: deploy
requires:
- build-go
filters:
branches:
only: master
tags:
ignore: /^v[0-9]+(\.[0-9]+)*$/