Skip to content

Commit f89fde7

Browse files
committed
Compare with != true
1 parent 558e7f7 commit f89fde7

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
@@ -76,8 +76,8 @@ jobs:
7676
uses: docker/build-push-action@v4
7777
with:
7878
context: .
79-
push: ${{env.is_publish}}
80-
load: ${{env.is_publish == false}}
79+
push: ${{env.is_publish == true}}
80+
load: ${{env.is_publish != true}}
8181
tags: |
8282
${{env.docker_image}}:local
8383
${{steps.meta.outputs.tags}}
@@ -86,11 +86,11 @@ jobs:
8686
cache-to: type=local,mode=max,dest=${{env.docker_cache_out}}
8787

8888
- name: Test Docker image
89-
if: env.is_publish == false
89+
if: env.is_publish != true
9090
run: make test-ci
9191

9292
- name: Publish output as build artifact
93-
if: env.is_publish == false
93+
if: env.is_publish != true
9494
uses: actions/upload-artifact@v3
9595
with:
9696
name: gitstats-output

0 commit comments

Comments
 (0)