This is an automated email from the ASF dual-hosted git repository.

yuqi4733 pushed a commit to branch issue-4445_for_test
in repository https://gitbox.apache.org/repos/asf/gravitino.git

commit f715e6033b69cbc0cb5f72e8e72e818f3092d352
Author: yuqi <[email protected]>
AuthorDate: Thu Aug 15 08:53:36 2024 +0800

    Fix
---
 .github/workflows/docker-image.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/docker-image.yml 
b/.github/workflows/docker-image.yml
index c72df7559..4f478a0e1 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -23,6 +23,11 @@ on:
         description: 'Docker version to apply to this image'
         required: true
         type: string
+
+      username:
+        description: 'Docker username'
+        required: true
+        type: string
       token:
         description: 'Publish Docker token'
         required: true
@@ -92,7 +97,7 @@ jobs:
       - name: Login to Docker Hub
         uses: docker/login-action@v2
         with:
-          username: datastrato
+          username: ${{ github.event.inputs.username }}
           password: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
 
       - name: Set up Docker Buildx

Reply via email to