Skip to content

Commit

Permalink
fix docker login for gh actions (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 authored Dec 14, 2020
1 parent 5b977b0 commit 7ec2ce5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ docker-run:
docker run ${IMG_W_TAG}

docker-push:
@echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin
@docker login -u ${DOCKER_USERNAME} -p="${DOCKER_PASSWORD}"
docker push ${IMG_W_TAG}

build-docker-images:
Expand All @@ -45,11 +45,11 @@ build-docker-images-windows:
${MAKEFILE_PATH}/scripts/build-docker-images -p ${SUPPORTED_PLATFORMS_WINDOWS} -r ${IMG} -v ${VERSION}

push-docker-images:
@echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin
@docker login -u ${DOCKER_USERNAME} -p="${DOCKER_PASSWORD}"
${MAKEFILE_PATH}/scripts/push-docker-images -p ${SUPPORTED_PLATFORMS_LINUX} -r ${IMG} -v ${VERSION} -m

push-docker-images-windows:
@echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin
@docker login -u ${DOCKER_USERNAME} -p="${DOCKER_PASSWORD}"
${MAKEFILE_PATH}/scripts/push-docker-images -p ${SUPPORTED_PLATFORMS_WINDOWS} -r ${IMG} -v ${VERSION} -m

version:
Expand Down

0 comments on commit 7ec2ce5

Please sign in to comment.