Skip to content

Commit

Permalink
ci: separate out pull into separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Oct 21, 2024
1 parent 5479320 commit 465623b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,15 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
username: spex-lang
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker pull
run: docker pull ghcr.io/spex-lang/static-build:latest

- name: Build static binary
run: |
cd release && \
docker pull ghcr.io/spex-lang/static-build:latest && \
docker run \
-v "${PWD}/..":/mnt/:ro \
-v "~/.cabal/packages":/root/.cache/cabal/packages \
Expand Down

0 comments on commit 465623b

Please sign in to comment.