Commit 6f0e29a2 authored by Martin Radile's avatar Martin Radile

use stdin for docker login

parent f56e5848
......@@ -32,7 +32,7 @@ docker_build:
- docker push registry.gitlab.com/mradile/rssfeeder:$RELEASE_VERSION
- docker tag registry.gitlab.com/mradile/rssfeeder:$RELEASE_VERSION registry.gitlab.com/mradile/rssfeeder:latest
- docker push registry.gitlab.com/mradile/rssfeeder:latest
- docker login -u $DOCKER_HUB_LOGIN -p "$DOCKER_HUB_PASSWORD" docker.io
- echo "$DOCKER_HUB_PASSWORD" | docker login -u "$DOCKER_HUB_LOGIN" --password-stdin docker.io
- docker tag registry.gitlab.com/mradile/rssfeeder:latest docker.io/mradile/rssfeeder:latest
- docker tag registry.gitlab.com/mradile/rssfeeder:$RELEASE_VERSION docker.io/mradile/rssfeeder:$RELEASE_VERSION
- docker push docker.io/mradile/rssfeeder:latest
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment