Skip to content

Commit

Permalink
fix: explicitly check if environment variable is true
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewL246 authored Jun 26, 2024
1 parent 1f6485b commit a4ba501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Log into the Docker container registry
if: ${{ env.SHOULD_PUSH_IMAGE }}
if: ${{ env.SHOULD_PUSH_IMAGE == 'true' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand Down

0 comments on commit a4ba501

Please sign in to comment.