Skip to content

Commit

Permalink
skip docker push
Browse files Browse the repository at this point in the history
[skip_ci]
  • Loading branch information
dhimmel committed May 30, 2021
1 parent 1eb3194 commit 11e6ccd
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/manubot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ jobs:
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
push: false
context: build
tags: |
${{ github.repository_owner }}/manubot:latest
ghcr.io/${{ github.repository_owner }}/manubot:latest
cache-to: type=inline
- name: Set Environment Variables
run: |
TRIGGERING_SHA=${GITHUB_PULL_REQUEST_SHA:-$GITHUB_SHA}
Expand All @@ -46,6 +47,7 @@ jobs:
echo "DEFAULT_BRANCH=${DEFAULT_BRANCH}" >> $GITHUB_ENV
echo "DEFAULT_BRANCH_REF=refs/heads/$DEFAULT_BRANCH" >> $GITHUB_ENV
echo "DEFAULT_BRANCH=$DEFAULT_BRANCH"
echo "IMAGE=ghcr.io/${{ github.repository_owner }}/manubot" >> $GITHUB_ENV
- name: Cache
uses: actions/cache@v1
with:
Expand All @@ -67,8 +69,12 @@ jobs:
bash ci/install-spellcheck.sh
fi
- name: Build Manuscript
shell: bash --login {0}
run: bash build/build.sh
run: |
docker run \
--workdir /manuscript \
--mount "type=bind,source=$(pwd),target=/manuscript" \
$IMAGE \
bash build/build.sh
- name: Upload Artifacts
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 11e6ccd

Please sign in to comment.