Skip to content

Commit

Permalink
Use vnoj/runtimes-tier1
Browse files Browse the repository at this point in the history
  • Loading branch information
hieplpvip committed Aug 8, 2024
1 parent 9ce4a86 commit 01430c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
with:
install: true
- name: Download docker image
run: docker pull dmoj/runtimes-tier1:${{ matrix.arch }}-latest
run: docker pull vnoj/runtimes-tier1:${{ matrix.arch }}-latest
- name: Build python
run: |
PYTHON_DIR="python$(echo "${{ matrix.python-version }}" | cut -d. -f 1-2)"
PYTHON_URL="https://www.python.org/ftp/python/$(perl -e 'shift=~/([\d.]+)/;print$1' "${{ matrix.python-version }}")/Python-${{ matrix.python-version }}.tar.xz"
docker run -e ARCH="${{ matrix.arch }}" -e PYTHON_DIR="$PYTHON_DIR" -e PYTHON_URL="$PYTHON_URL" -v "$(pwd):/code" dmoj/runtimes-tier1:${{ matrix.arch }}-latest
docker run -e ARCH="${{ matrix.arch }}" -e PYTHON_DIR="$PYTHON_DIR" -e PYTHON_URL="$PYTHON_URL" -v "$(pwd):/code" vnoj/runtimes-tier1:${{ matrix.arch }}-latest
- name: Archive build artifacts
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 01430c7

Please sign in to comment.