Skip to content

Commit 57ad2d7

Browse files
authored
Merge pull request #30 from codacy/lolgab-patch-1
fix: Avoid printing docker password to stdout
2 parents 0fda0ec + 7abfacd commit 57ad2d7

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
@@ -20,11 +20,11 @@ build: ## build docker image
2020
docker build -t codacy/$(PROJECT_NAME):$(VERSION_NUMBER) .
2121

2222
push-docker-image: ## push the docker image to the registry (DOCKER_USER and DOCKER_PASS mandatory)
23-
docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) &&\
23+
@docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) &&\
2424
docker push codacy/$(PROJECT_NAME):$(VERSION_NUMBER)
2525

2626
push-latest-docker-image: ## push the docker image with the "latest" tag to the registry (DOCKER_USER and DOCKER_PASS mandatory)
27-
docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) &&\
27+
@docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) &&\
2828
docker tag codacy/$(PROJECT_NAME):$(VERSION_NUMBER) codacy/$(PROJECT_NAME):latest &&\
2929
docker push codacy/$(PROJECT_NAME):latest
3030

0 commit comments

Comments
 (0)