Skip to content

Commit

Permalink
ci: don't publish to dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Dec 3, 2024
1 parent d10b5d1 commit 15fb9b6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 15fb9b6

Please sign in to comment.