From 817371f8fb833c9caaef5fe3d22d9e8f899101f7 Mon Sep 17 00:00:00 2001 From: denis-tingajkin Date: Fri, 20 Mar 2020 02:25:48 +0700 Subject: [PATCH] fix docker push Signed-off-by: denis-tingajkin --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 5a2d1ec..9bbad24 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -22,6 +22,6 @@ jobs: run: | go build -o coredns/coredns coredns/main.go docker build coredns/. -t "${ORG}/coredns:${TAG}" - echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USER}" --password-stdin + docker login -u $DOCKER_USER -p $DOCKER_PASSWORD docker push "${ORG}/coredns:${TAG}" docker image rm "${ORG}/coredns:${TAG}"