Skip to content

Commit

Permalink
Update CI Tags (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
Delaunay authored Mar 8, 2023
1 parent f2a472b commit 3acc0b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/docker-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_PATH: ghcr.io/mila-iqia/milabench:cuda-nightly

jobs:
build-image:
runs-on: [self-hosted, gpu]
docker-run:
runs-on: [self-hosted, cuda]

strategy:
matrix:
include:
- arch: cuda
config: standard-cuda.yaml

permissions:
contents: read
Expand All @@ -25,13 +26,6 @@ jobs:
IMAGE_NAME: "ghcr.io/mila-iqia/milabench:${{ matrix.arch }}-nightly"

steps:
- name: login
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: pull
run: |
docker pull $IMAGE_NAME
Expand All @@ -54,4 +48,4 @@ jobs:
python -m pip install -U poetry
poetry lock --no-update
poetry install
milabench summary $OUTPUT/
milabench summary $OUTPUT
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:

jobs:
build-image:
runs-on: [self-hosted, gpu]
runs-on: [self-hosted, cuda]

# define build arguments
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

jobs:
tests:
runs-on: [self-hosted, gpu]
runs-on: [self-hosted, cuda]
defaults:
run:
shell: bash -el {0}
Expand Down

0 comments on commit 3acc0b3

Please sign in to comment.