From 4389be5ae64a4385b107b8bfd2badd149b6d9a13 Mon Sep 17 00:00:00 2001 From: HYwooo <43744594+HYwooo@users.noreply.github.com> Date: Fri, 25 Oct 2024 20:00:01 +0800 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 0beeee6..6e76f9f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -17,9 +17,9 @@ on: env: # Use docker.io for Docker Hub if empty - REGISTRY: ghcr.io + REGISTRY: docker.io # github.repository as / - IMAGE_NAME: hywooo/bsv-wsl2 + IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/bsv-wsl2 jobs: @@ -58,8 +58,8 @@ jobs: uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 with: registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} # Extract metadata (tags, labels) for Docker # https://github.com/docker/metadata-action