kuvia2/vendor/github.com/golang-migrate/migrate/v4/docker-deploy.sh
2022-01-15 00:09:03 +01:00

5 lines
275 B
Bash

#!/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