From 15fb9b61c4bb69b18a61e9ddc34a78ad7986a2c4 Mon Sep 17 00:00:00 2001 From: Rexogamer Date: Tue, 3 Dec 2024 00:18:02 +0000 Subject: [PATCH] ci: don't publish to dockerhub --- .github/workflows/docker.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 74df1258..94580567 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -70,13 +70,13 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - # Authenticate with Docker Hub and GHCR - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - registry: docker.io - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + # Authenticate with ~~Docker Hub and~~ GHCR + # - name: Login to DockerHub + # uses: docker/login-action@v2 + # with: + # registry: docker.io + # username: ${{ secrets.DOCKERHUB_USERNAME }} + # password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to Github Container Registry uses: docker/login-action@v2 with: @@ -119,8 +119,8 @@ jobs: id: meta uses: docker/metadata-action@v4 with: + # removed docker.io/${{ steps.export.outputs.tag }}; re-add for dockerhub images: | - docker.io/${{ steps.export.outputs.tag }} ghcr.io/${{ steps.export.outputs.tag }} # Build crate image