Skip to content

Commit e1c60ae

Browse files
Prometheus2677FPiety0521
authored and
FPiety0521
committed
Add latest tag to docker image during build
1 parent df2f229 commit e1c60ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

33
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin && \
4-
docker build --build-arg VERSION="$TRAVIS_TAG" . -t migrate/migrate:"$TRAVIS_TAG" && \
4+
docker build --build-arg VERSION="$TRAVIS_TAG" . -t migrate/migrate -t migrate/migrate:"$TRAVIS_TAG" && \
55
docker push migrate/migrate:"$TRAVIS_TAG" && docker push migrate/migrate

0 commit comments

Comments
 (0)