Commit 580c76edcb982f7113dae914929280d672655e7e

Edward Thomson 2020-06-06T15:35:58

Update main.yml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 31307ec..3c11858 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -26,8 +26,8 @@ jobs:
       run: |
         docker build -t docker.pkg.github.com/${{github.repository}}/xenial:${{ env.docker-label }} --build-arg BASE=ubuntu:xenial -f xenial .
       working-directory: azure-pipelines/docker
-      if: env.docker-exists != "true"
+      if: ${{env.docker-exists != "true"}}
     - name: Publish image
       run: |
         docker push docker.pkg.github.com/${{github.repository}}/xenial:${{env.docker-label}}
-      if: env.docker-exists != "true"
+      if: ${{env.docker-exists != "true"}}