Unverified Commit 09d00c3e by Edward Thomson Committed by GitHub

Update main.yml

parent 92ab4213
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment