Commit 4a8f9f7751067558002439e8c8e471dfee48e834

Edward Thomson 2020-06-06T17:22:57

Update main.yml

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1363b4a..33737e4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -31,12 +31,17 @@ jobs:
     - name: Download image
       run: |
         docker pull docker.pkg.github.com/${{ github.repository }}/${{ matrix.container.name }}:${{ env.docker-label }} && echo "::set-env name=docker-exists::true"
-    - name: Build image
-      run: |
-        docker build -t docker.pkg.github.com/${{ github.repository }}/${{ matrix.container.name }}:${{ env.docker-label }} --build-arg BASE=${{ matrix.container.base }} -f ${{ matrix.container.name }} .
-      working-directory: ${{ env.docker-config-path }}
-      if: ${{env.docker-exists != true}}
-    - name: Publish image
-      run: |
-        docker push docker.pkg.github.com/${{ github.repository }}/${{ matrix.container.name }}:${{ env.docker-label }}
-      if: ${{env.docker-exists != true}}
+    - run: |
+        env
+        echo "${{env.docker-exists}}"
+    - run: echo yo
+      if: ${{ env.docker-exists == true }}
+#    - name: Build image
+#      run: |
+#        docker build -t docker.pkg.github.com/${{ github.repository }}/${{ matrix.container.name }}:${{ env.docker-label }} --build-arg BASE=${{ matrix.container.base }} -f ${{ matrix.container.name }} .
+#      working-directory: ${{ env.docker-config-path }}
+#      if: ${{env.docker-exists != true}}
+#    - name: Publish image
+#      run: |
+#        docker push docker.pkg.github.com/${{ github.repository }}/${{ matrix.container.name }}:${{ env.docker-label }}
+#      if: ${{env.docker-exists != true}}