Unverified Commit 92ab4213 by Edward Thomson Committed by GitHub

Update main.yml

parent 2e8cc08e
...@@ -98,7 +98,7 @@ jobs: ...@@ -98,7 +98,7 @@ jobs:
env env
- run: echo ${{ matrix.platform.os }} ${{matrix.platform.image}} - run: echo ${{ matrix.platform.os }} ${{matrix.platform.image}}
- run: | - run: |
if [ -z "${{ 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 run ${{ env.foo }}/${{ matrix.platform.image }}:latest echo hi docker run ${{ env.foo }}/${{ matrix.platform.image }}:latest echo hi
else else
......
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