File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 43
43
# Construct the correct docker container image tag corresponding to this build
44
44
- name : Figure out correct docker image tag
45
45
run :
46
- echo ::set-env name= DOCKER_IMG:: $DOCKER_BASE_IMG:$(git log -1 --oneline -- tools/docker/ | cut -d" " -f1)
46
+ echo DOCKER_IMG= $DOCKER_BASE_IMG:$(git log -1 --oneline -- tools/docker/ | cut -d" " -f1) >> $GITHUB_ENV
47
47
48
48
# Try to download the image from dockerhub. If it works, use it.
49
49
#
59
59
run : |
60
60
echo "Using $DOCKER_IMG for this run"
61
61
echo "Pulling image $DOCKER_IMG from dockerhub";
62
- docker pull $DOCKER_IMG || echo ::set-env name= DOCKER_NEED_BUILD::1
62
+ docker pull $DOCKER_IMG || echo DOCKER_NEED_BUILD=1 >> $GITHUB_ENV
63
63
64
64
- name : Build docker image if required
65
65
if : env.DOCKER_NEED_BUILD == '1'
@@ -101,7 +101,7 @@ jobs:
101
101
# Set permissions for Docker mount
102
102
sudo chown -R 1000:1000 $OUT_OF_TREE_TEST_PATH
103
103
# Set up docker mount
104
- echo ::set-env name= DOCKER_ARGS:: -v `pwd`/$OUT_OF_TREE_TEST_PATH:/home/user/out-of-tree-tests
104
+ echo DOCKER_ARGS= -v `pwd`/$OUT_OF_TREE_TEST_PATH:/home/user/out-of-tree-tests >> $GITHUB_ENV
105
105
106
106
# Fire up the container and run corresponding tests
107
107
- name : Execute tests
You can’t perform that action at this time.
0 commit comments