From 04cac7d7f3bfe96036a22f048f007119daf281b9 Mon Sep 17 00:00:00 2001 From: 0xJacky Date: Fri, 12 Aug 2022 14:15:58 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e67723cf..289008e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -221,6 +221,13 @@ jobs: uozi/nginx-ui:latest uozi/nginx-ui:${{ steps.get_version.outputs.VERSION }} + - name: Login to DockerHub Again + if: github.event_name == 'release' && env.GOOS == 'linux' && env.GOARCH == 'amd64' + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USER }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Prepare Demo Dockerfile if: env.GOOS == 'linux' && env.GOARCH == 'amd64' run: |