Commit 92ab4213289602fa5309daa5b18c5ae9e3e642a1

Edward Thomson 2020-06-06T23:16:52

Update main.yml

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 607aa70..a29ecbb 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -98,7 +98,7 @@ jobs:
         env
     - run: echo ${{ matrix.platform.os }} ${{matrix.platform.image}}
     - run: |
-        if [ -z "${{ matrix.platform.image }}" ]; then
+        if [ -n "${{ matrix.platform.image }}" ]; then
           docker login https://${{ env.foo }} -u ${{ github.actor }} -p ${{ github.token }}
           docker run ${{ env.foo }}/${{ matrix.platform.image }}:latest echo hi
         else