Skip to content

Commit 6c4e410

Browse files
authored
Update Makefile
1 parent 3b84c4e commit 6c4e410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ docker:
4444

4545
push:
4646
@echo ">> pushing docker image, $(DOCKER_USER),$(DOCKER_IMAGE_NAME),$(TAG)"
47-
@docker login -u $(DOCKER_USER) -p $(DOCKER_PASS)
47+
@echo $DOCKER_PASSWORD | docker login -u "$DOCKER_USERNAME" --password-stdin
4848
@docker tag "$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG)" "$(DOCKER_USER)/$(DOCKER_IMAGE_NAME):$(TAG)"
4949
@docker push "$(DOCKER_USER)/$(DOCKER_IMAGE_NAME):$(TAG)"
5050

@@ -63,4 +63,4 @@ github-release:
6363
GOARCH=$(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m))) \
6464
$(GO) get -u github.com/aktau/github-release
6565

66-
.PHONY: all style format build test vet tarball docker promu
66+
.PHONY: all style format build test vet tarball docker promu

0 commit comments

Comments
 (0)