From f259d97c403a5aec3e054044469e263acd71af0e Mon Sep 17 00:00:00 2001 From: Avelino Date: Sun, 16 Aug 2020 15:46:05 -0300 Subject: [PATCH] generate docker image latest on script travis build Signed-off-by: Avelino --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 46219ff18..5f219640f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,15 +32,14 @@ script: - sh testdata/migrations_test.sh - env go test -race -covermode=atomic -coverprofile=coverage.out ./... - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN + - docker build && docker push prest/prest:latest deploy: - provider: script skip_cleanup: true script: - - curl -sL https://git.io/goreleaser | bash - - docker build - - docker push prest/prest:latest - docker push prest/prest:v1 + # - curl -sL https://git.io/goreleaser | bash on: tags: true condition: $TRAVIS_OS_NAME = linux