File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,11 @@ jobs:
3333 id : docker_build
3434 uses : docker/build-push-action@v2
3535 with :
36- push : true
36+ push : false
3737 context : build
3838 tags : |
39- ${{ github.repository_owner }}/manubot:latest
39+ ghcr.io/${{ github.repository_owner }}/manubot:latest
40+ cache-to : type=inline
4041 - name : Set Environment Variables
4142 run : |
4243 TRIGGERING_SHA=${GITHUB_PULL_REQUEST_SHA:-$GITHUB_SHA}
4647 echo "DEFAULT_BRANCH=${DEFAULT_BRANCH}" >> $GITHUB_ENV
4748 echo "DEFAULT_BRANCH_REF=refs/heads/$DEFAULT_BRANCH" >> $GITHUB_ENV
4849 echo "DEFAULT_BRANCH=$DEFAULT_BRANCH"
50+ echo "IMAGE=ghcr.io/${{ github.repository_owner }}/manubot" >> $GITHUB_ENV
4951 - name : Cache
5052 uses : actions/cache@v1
5153 with :
6769 bash ci/install-spellcheck.sh
6870 fi
6971 - name : Build Manuscript
70- shell : bash --login {0}
71- run : bash build/build.sh
72+ run : |
73+ docker run \
74+ --workdir /manuscript \
75+ --mount "type=bind,source=$(pwd),target=/manuscript" \
76+ $IMAGE \
77+ bash build/build.sh
7278 - name : Upload Artifacts
7379 uses : actions/upload-artifact@v1
7480 with :
You can’t perform that action at this time.
0 commit comments