File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 20
20
with :
21
21
submodules : recursive
22
22
- name : Build and test
23
+ env :
24
+ CACHE_CONAN_REMOTE : ${{ vars.RELEASE_CONAN_REMOTE }}
25
+ CACHE_CONAN_LOGIN_USERNAME : ${{ vars.RELEASE_CONAN_LOGIN_USERNAME }}
26
+ CACHE_CONAN_PASSWORD : ${{ secrets.RELEASE_CONAN_PASSWORD }}
23
27
run : scripts/ci-build-with-docker.sh
24
28
# release:
25
29
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change @@ -14,17 +14,14 @@ PROJECT_DIR=$(realpath $(dirname "${SCRIPT_DIR}"))
14
14
ROOT_IMAGE=registry.gitlab.com/batteriesincluded/batt-docker/batteries-debian12-build-tools:0.5.0
15
15
USER_IMAGE=$( cor docker user-image ${ROOT_IMAGE} )
16
16
17
- if [ -f " ${GITHUB_ENV:- noSuchFile} " ]; then
18
- ENV_FILE_FLAGS=" --env-file ${GITHUB_ENV} "
19
- cat " ${GITHUB_ENV} "
20
- fi
21
-
22
17
docker run \
23
18
--ulimit memlock=-1:-1 \
24
19
--cap-add SYS_ADMIN \
25
20
--privileged \
26
21
--network host \
27
- ${ENV_FILE_FLAGS:- } \
22
+ --env CACHE_CONAN_REMOTE \
23
+ --env CACHE_CONAN_LOGIN_USERNAME \
24
+ --env CACHE_CONAN_PASSWORD \
28
25
--volume " ${HOME} /ci_conan_hosts:/etc/hosts:ro" \
29
26
--volume " ${PROJECT_DIR} :${PROJECT_DIR} " \
30
27
--workdir " ${PROJECT_DIR} " \
You can’t perform that action at this time.
0 commit comments