From 4f80ae698e8448432c2201250325f242232c3e83 Mon Sep 17 00:00:00 2001 From: denis-tingajkin Date: Fri, 20 Mar 2020 01:57:53 +0700 Subject: [PATCH] fix docker push Signed-off-by: denis-tingajkin --- .github/workflows/push.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 8fe1d41..5a2d1ec 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest env: DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }} + DOCKER_USER: ${{ secrets.DOCKER_LOGIN }} TAG: master ORG: networkservicemesh steps: @@ -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_LOGIN}" --password-stdin + echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USER}" --password-stdin docker push "${ORG}/coredns:${TAG}" docker image rm "${ORG}/coredns:${TAG}"