Skip to content

Commit c20a213

Browse files
committedApr 17, 2023
Use string comparison
1 parent f59fb0e commit c20a213

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎.github/workflows/workflow.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ jobs:
7575
uses: docker/build-push-action@v4
7676
with:
7777
context: .
78-
push: ${{env.is_publish}}
79-
load: ${{env.is_publish != true}}
78+
push: ${{env.is_publish == 'true'}}
79+
load: ${{env.is_publish == 'false'}}
8080
tags: |
8181
${{env.docker_image}}:local
8282
${{steps.meta.outputs.tags}}
@@ -85,11 +85,11 @@ jobs:
8585
cache-to: type=local,mode=max,dest=${{env.docker_cache_out}}
8686

8787
- name: Test Docker image
88-
if: env.is_publish != true
88+
if: env.is_publish == 'false'
8989
run: make test-ci
9090

9191
- name: Publish output as build artifact
92-
if: env.is_publish != true
92+
if: env.is_publish == 'false'
9393
uses: actions/upload-artifact@v3
9494
with:
9595
name: gitstats-output

0 commit comments

Comments
 (0)