Skip to content

Commit

Permalink
Merge pull request #8 from denis-tingajkin/fix_docker_push
Browse files Browse the repository at this point in the history
Fix docker push
  • Loading branch information
edwarnicke authored Mar 19, 2020
2 parents 722b487 + 4f80ae6 commit c35205e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}"

0 comments on commit c35205e

Please sign in to comment.