Skip to content

Commit

Permalink
Don't try to login to dockerhub (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Sep 8, 2023
1 parent 0890891 commit d3aad1a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ jobs:
- name: Inspect builder
run: docker buildx inspect

- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Disabled while I wait for IT/SRE to grant perms for this token
# - name: Log in to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Log in to GHCR
uses: docker/login-action@v2
Expand All @@ -48,7 +49,7 @@ jobs:
with:
images: |
ghcr.io/${{ github.repository }}
docker.io/${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
# docker.io/${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
flavor: |
latest=false
tags: |
Expand Down

0 comments on commit d3aad1a

Please sign in to comment.