Skip to content

Commit 76f90ca

Browse files
committed
Fixed usage of --password-stdin resulting in redirection unexpected errors.
Signed-off-by: Niklas Voss <niklas.voss@gmail.com>
1 parent 16be1e1 commit 76f90ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ build: validate
8282

8383
push: build
8484
if [ "$(DOCKER_USERNAME)" != "" ]; then \
85-
docker login --username="$(DOCKER_USERNAME)" --password-stdin <<< "$(DOCKER_PASSWORD)"; \
85+
echo "$(DOCKER_PASSWORD)" | docker login --username="$(DOCKER_USERNAME)" --password-stdin; \
8686
fi; \
8787
docker push $(DOCKER_REGISTRY)/$(DOCKER_ORG)/$(DOCKER_REPOSITORY):$(COREOS_VERSION)
8888

0 commit comments

Comments
 (0)