File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ mkdir -p "/opt/metwork-mfext-${TARGET_DIR}"
3434mkdir -p buildlogs
3535export BUILDLOGS=buildlogs
3636
37+ set +x
38+ export TOKEN=${TOKEN}
39+ set -x
40+
3741make > ${BUILDLOGS} /make.log 2>&1 || ( tail -200 ${BUILDLOGS} /make.log ; exit 1 )
3842
3943OUTPUT=$( git status --short | grep -v buildlogs | grep -v buildcache)
Original file line number Diff line number Diff line change 1919env :
2020
2121
22- DOCKER_RUN_OPTIONS : " -v ${{ github.workspace }}:/src -v /buildcache:/buildcache -v /local_sources:/local_sources - e GITHUB_REF -e GITHUB_RUN_NUMBER -e GITHUB_SHA -e GITHUB_REPOSITORY"
22+ DOCKER_RUN_OPTIONS : " -v ${{ github.workspace }}:/src -v /buildcache:/buildcache -e GITHUB_REF -e GITHUB_RUN_NUMBER -e GITHUB_SHA -e GITHUB_REPOSITORY"
2323
2424
2525
7777 TAG=${{ steps.SetVariables.outputs.tag }}
7878 DEP_BRANCH=${{ steps.SetVariables.outputs.dep_branch }}
7979 BUILDIMAGE=${{ steps.SetVariables.outputs.buildimage }}
80+ TOKEN=${{ secrets.METWORK_ACCESS_TOKEN }}
8081 docker pull ${BUILDIMAGE}
81- docker run ${DOCKER_RUN_OPTIONS} -e TARGET_DIR=${TARGET_DIR} -e BRANCH=${BRANCH} -e DEP_BRANCH=${DEP_BRANCH} -e TAG=${TAG} -e OS_VERSION=${OS_VERSION} --rm ${BUILDIMAGE} /bin/bash -c "${DOCKER_WORKFLOW_SCRIPTS_DIR}/build.sh"
82+ docker run ${DOCKER_RUN_OPTIONS} -e TOKEN=${TOKEN} -e TARGET_DIR=${TARGET_DIR} -e BRANCH=${BRANCH} -e DEP_BRANCH=${DEP_BRANCH} -e TAG=${TAG} -e OS_VERSION=${OS_VERSION} --rm ${BUILDIMAGE} /bin/bash -c "${DOCKER_WORKFLOW_SCRIPTS_DIR}/build.sh"
8283 cat ${{ github.workspace }}/github_output >> ${GITHUB_OUTPUT}
8384
8485 - name : publish buildlogs
You can’t perform that action at this time.
0 commit comments