From c44ed137931dff4248ed5bf79f44a3b45384817f Mon Sep 17 00:00:00 2001 From: Mohammed Date: Thu, 2 Mar 2023 14:15:14 +0330 Subject: [PATCH] fix docker login --- .github/workflows/deploy.yml | 4 ++-- .github/workflows/test.yml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f4fe7e774..f8d4b611d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,8 +16,8 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + username: ${{ secrets.USERNAME }} + password: ${{ secrets.TOKEN }} - uses: actions/checkout@v3 - name: deploy to docker run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 68050beea..1fbedb1ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,7 @@ jobs: run: make build darwin: + needs: linux runs-on: macos-latest steps: - uses: actions/setup-go@v3 @@ -34,6 +35,7 @@ jobs: run: make build windows: + needs: linux runs-on: windows-latest steps: - uses: actions/setup-go@v3 @@ -50,4 +52,4 @@ jobs: set GO111MODULE=on make test-windows - name: Build - run: make build-windows \ No newline at end of file + run: make build-windows