From 44bfb977775eecca0347ac9dcc9979d7a9ddcd9b Mon Sep 17 00:00:00 2001 From: Vicente Cheng Date: Thu, 29 Aug 2024 23:02:18 +0800 Subject: [PATCH] Revert "GHA: update the secrets path" This reverts commit 36c0315ed7a30381fe4d7525856e7679ee021482. --- .github/workflows/factory.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/factory.yml b/.github/workflows/factory.yml index f1fc41f..4ff06e9 100644 --- a/.github/workflows/factory.yml +++ b/.github/workflows/factory.yml @@ -36,9 +36,8 @@ jobs: if: ${{ inputs.push == true }} with: secrets: | - secret/data/github/repo/harvester/networkfs-manager/dockerhub/rancher/credentials username | DOCKER_USERNAME ; - secret/data/github/repo/harvester/networkfs-manager/dockerhub/rancher/credentials password | DOCKER_PASSWORD - + secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials username | DOCKER_USERNAME ; + secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials password | DOCKER_PASSWORD - name: Login to Docker Hub uses: docker/login-action@v3