Unverified Commit 5f4b3017 by Edward Thomson Committed by GitHub

Update main.yml

parent 78ed45d5
......@@ -99,9 +99,10 @@ jobs:
- name: Build and test
run: |
if [ -n "${{ matrix.platform.image }}" ]; then
docker_container="${{ github.repository }}/${{ matrix.platform.image }}:latest"
docker login https://${{ env.foo }} -u ${{ github.actor }} -p ${{ github.token }}
docker pull ${{ env.foo }}/${{ matrix.platform.image }}:latest
docker run ${{ env.foo }}/${{ matrix.platform.image }}:latest echo hi
docker pull ${{ env.foo }}/${docker_container}
docker run ${{ env.foo }}/${docker_container} echo hi
else
mkdir build && cd build
../azure-pipelines/build.sh
......
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