phpbb/docker/scripts/fetch-pr.sh
Tristan Darricau e3aed4f17c Fix images
2016-02-01 21:44:56 +01:00

12 lines
404 B
Bash
Executable file

#!/usr/bin/env bash
docker run \
--user $(id -u):$(id -g) \
--volume ${WORKING_DIR}:/data \
--workdir /data \
phpbb/build${IMAGES_TAG} sh -c '
git config user.email "no-reply@phpbb.com" &&
git config user.name "phpBB CI" &&
git remote set-url origin "https://github.com/phpbb/phpbb.git" &&
git fetch origin +refs/pull/'${PR_NUMBER}'/merge &&
git checkout FETCH_HEAD'