Skip to content

Commit

Permalink
update image urls (#209)
Browse files Browse the repository at this point in the history
* update image urls

* add missing checkout
  • Loading branch information
naik-aakash authored Nov 9, 2024
1 parent de3afe1 commit e660c5c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DeveloperEnv",
"image": "ghcr.io/autoatml/autoplex/autoplex:python-3.10",
"image": "ghcr.io/autoatml/autoplex/autoplex-python-3.10:0.2.9",
"hostRequirements": {
"cpus": 4,
"memory": "16gb",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ghcr-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- name: ghcr.io cleanup action
uses: dataaxiom/ghcr-cleanup-action@v1
with:
packages: autoplex/autoplex,autoplex/autoplex-python-3.12,autoplex/autoplex-python-3.11,autoplex/autoplex-python-3.10
packages: autoplex/autoplex-python-3.12,autoplex/autoplex-python-3.11,autoplex/autoplex-python-3.10
token: ${{ secrets.GITHUB_TOKEN }}
9 changes: 7 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,18 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Extract version from pyproject.toml
run: |
VERSION=$(grep '^version = ' pyproject.toml | sed -E 's/version = "(.*)"/\1/')
echo "VERSION=$VERSION" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: Run tests using Docker image for Python ${{ matrix.python-version }}
run: |
docker pull ghcr.io/autoatml/autoplex/autoplex:python-${{ matrix.python-version }}
docker pull ghcr.io/autoatml/autoplex/autoplex-python-${{ matrix.python-version }}:${{ env.VERSION }}
docker run --rm \
-v ${{ github.workspace }}:/workspace \
-w /workspace \
ghcr.io/autoatml/autoplex/autoplex:python-${{ matrix.python-version }} \
ghcr.io/autoatml/autoplex/autoplex-python-${{ matrix.python-version }}:${{ env.VERSION }} \
bash -c "
python -m pip install --upgrade pip && \
python -m uv cache clean
Expand Down

0 comments on commit e660c5c

Please sign in to comment.