From 7b6335a736bd08a418f84713b2c384eb7c4facb4 Mon Sep 17 00:00:00 2001 From: yousan Date: Sat, 2 Dec 2023 19:06:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20DockerHub=E3=81=ABpush=E3=81=99=E3=82=8B?= =?UTF-8?q?=E5=87=A6=E7=90=86=E3=81=AE=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-publish.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index eca5819..426dcef 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -12,15 +12,11 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4.1.1 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to GitHub Container Registry - uses: docker/setup-buildx-action@v3.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v3.0.0 with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - name: Build and Push Docker Image uses: docker/build-push-action@v5.1.0 @@ -28,4 +24,4 @@ jobs: context: . file: ./Dockerfile push: true - tags: ghcr.io/your-username/your-repo/your-image-name:latest + tags: midralab/generate-image-api-for-lcm:latest