This commit is contained in:
Half-Shot 2023-03-17 13:57:50 +00:00
parent 0dc2512e10
commit 0d0cc6b3da

View File

@ -25,7 +25,7 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub - name: Log in to Docker Hub
if: ${{ env.PUSH }} if: github.ref == 'refs/heads/main'
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKER_HUB_USERNAME }} username: ${{ secrets.DOCKER_HUB_USERNAME }}