Skip to content

Commit

Permalink
workflows/tests: fix Docker Hub default branch reference.
Browse files Browse the repository at this point in the history
Otherwise we don't push to Docker Hub on `main` pushes.
  • Loading branch information
MikeMcQuaid committed Jan 1, 2024
1 parent fbd4ea2 commit 7f388f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
docker push ghcr.io/mikemcquaid/strap:latest
- name: Deploy the Docker image to Docker Hub
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
run: |
echo ${{secrets.DOCKER_TOKEN}} | \
docker login --username=mikemcquaid --password-stdin
Expand Down

0 comments on commit 7f388f4

Please sign in to comment.