From a3de1546a3c8b86fc9a0117ed9a57f4a35ea3906 Mon Sep 17 00:00:00 2001 From: feng-tao Date: Tue, 18 Aug 2020 12:58:46 -0700 Subject: [PATCH] chore: fix docker push action Signed-off-by: feng-tao --- .github/workflows/pypipublish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pypipublish.yml b/.github/workflows/pypipublish.yml index 99bcdc84..f0db710d 100644 --- a/.github/workflows/pypipublish.yml +++ b/.github/workflows/pypipublish.yml @@ -33,10 +33,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 + - name: Login with docker + run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} - name: Publish to Registry - uses: elgohr/Publish-Docker-Github-Action@2.8 - with: - name: amundsen-io/amundsenmetadatalibrary - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - tag_names: true + if: success() + run: make build-push-image