Pārlūkot izejas kodu

Update build.yml

0xJacky 3 gadi atpakaļ
vecāks
revīzija
04cac7d7f3
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      .github/workflows/build.yml

+ 7 - 0
.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: |