Skip to content

Commit

Permalink
Use string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
jkager committed Apr 17, 2023
1 parent f59fb0e commit c20a213
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
push: ${{env.is_publish}}
load: ${{env.is_publish != true}}
push: ${{env.is_publish == 'true'}}
load: ${{env.is_publish == 'false'}}
tags: |
${{env.docker_image}}:local
${{steps.meta.outputs.tags}}
Expand All @@ -85,11 +85,11 @@ jobs:
cache-to: type=local,mode=max,dest=${{env.docker_cache_out}}

- name: Test Docker image
if: env.is_publish != true
if: env.is_publish == 'false'
run: make test-ci

- name: Publish output as build artifact
if: env.is_publish != true
if: env.is_publish == 'false'
uses: actions/upload-artifact@v3
with:
name: gitstats-output
Expand Down

0 comments on commit c20a213

Please sign in to comment.