Commit 09d00c3e0b8a030e70478f2e55f8843df672074b

Edward Thomson 2020-06-06T23:21:35

Update main.yml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a29ecbb..723319b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -97,9 +97,11 @@ jobs:
     - run: |
         env
     - run: echo ${{ matrix.platform.os }} ${{matrix.platform.image}}
-    - run: |
+    - name: Build and test
+      run: |
         if [ -n "${{ matrix.platform.image }}" ]; then
           docker login https://${{ env.foo }} -u ${{ github.actor }} -p ${{ github.token }}
+          docker pull ${{ env.foo }}/${{ env.platform.image }}:latest
           docker run ${{ env.foo }}/${{ matrix.platform.image }}:latest echo hi
         else
           mkdir build && cd build