status-go/vendor/github.com/golang-migrate/migrate/v4/docker-deploy.sh

6 lines
275 B
Bash
Raw Permalink Normal View History

2019-06-09 07:24:20 +00:00
#!/bin/bash
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin && \
docker build --build-arg VERSION="$TRAVIS_TAG" . -t migrate/migrate -t migrate/migrate:"$TRAVIS_TAG" && \
docker push migrate/migrate:"$TRAVIS_TAG" && docker push migrate/migrate