From c3415ed3951e4ea17b7a665f1253804a51d90330 Mon Sep 17 00:00:00 2001 From: Brandon Wagner Date: Mon, 14 Dec 2020 14:59:49 -0600 Subject: [PATCH] fix docker login for gh actions (#323) --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 67d456c8..187e093f 100644 --- a/Makefile +++ b/Makefile @@ -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: @@ -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: