File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ master, maint/* ]
88
9+ env :
10+ foo : docker.pkg.github.com
11+
912jobs :
1013 # Build the docker container images that we will use for our Linux builds. This will
1114 # identify the last commit to the repository that updated the docker images, and try
5558 platform :
5659 -
5760 os : ubuntu-latest
58- image : ' ubuntu: xenial'
61+ image : xenial
5962 cc : gcc
6063 cmake_generator : Ninja
6164 cmake_options : -DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
9598 env
9699 - run : echo ${{ matrix.platform.os }} ${{matrix.platform.image}}
97100 - run : |
98- mkdir build && cd build
99- ../azure-pipelines/build.sh
100- ../azure-pipelines/test.sh
101+ if [ -z "${{ matrix.platform.image }}" ]; then
102+ docker login https://${{ env.foo }} -u ${{ github.actor }} -p ${{ github.token }}
103+ docker run ${{ env.foo }}/${{ matrix.platform.image }}:latest echo hi
104+ else
105+ mkdir build && cd build
106+ ../azure-pipelines/build.sh
107+ ../azure-pipelines/test.sh
108+ fi
101109 shell: bash
You can’t perform that action at this time.
0 commit comments