Unverified Commit 09d00c3e by Edward Thomson Committed by GitHub

Update main.yml

parent 92ab4213
...@@ -97,9 +97,11 @@ jobs: ...@@ -97,9 +97,11 @@ jobs:
- run: | - run: |
env env
- run: echo ${{ matrix.platform.os }} ${{matrix.platform.image}} - run: echo ${{ matrix.platform.os }} ${{matrix.platform.image}}
- run: | - name: Build and test
run: |
if [ -n "${{ matrix.platform.image }}" ]; then if [ -n "${{ matrix.platform.image }}" ]; then
docker login https://${{ env.foo }} -u ${{ github.actor }} -p ${{ github.token }} 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 docker run ${{ env.foo }}/${{ matrix.platform.image }}:latest echo hi
else else
mkdir build && cd build 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