Skip to content

Commit 1b156fd

Browse files
authored
chore: actively pull contianer in linter
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 7e62a2f commit 1b156fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
password: ${{ secrets.GITHUB_TOKEN }}
3434
- name: Run image
3535
run: |
36+
docker pull docker.pkg.github.com/pytorch/tensorrt/docgen:latest
3637
docker run -it -d --name cpplinter -e GITHUB_TOKEN=$GITHUB_TOKEN -v $GITHUB_WORKSPACE:/workspace -v $GITHUB_EVENT_PATH:/GITHUB_EVENT.json -w /workspace docker.pkg.github.com/pytorch/tensorrt/docgen:latest
3738
docker exec cpplinter bash -c "cp /workspace/docker/WORKSPACE.docker /workspace/WORKSPACE"
3839
env:
@@ -70,6 +71,7 @@ jobs:
7071
password: ${{ secrets.GITHUB_TOKEN }}
7172
- name: Run image
7273
run: |
74+
docker pull docker.pkg.github.com/pytorch/tensorrt/docgen:latest
7375
docker run -it -d --name pylinter -e GITHUB_TOKEN=$GITHUB_TOKEN -v $GITHUB_WORKSPACE:/workspace -v $GITHUB_EVENT_PATH:/GITHUB_EVENT.json -w /workspace docker.pkg.github.com/pytorch/tensorrt/docgen:latest
7476
docker exec pylinter bash -c "cp /workspace/docker/WORKSPACE.docker /workspace/WORKSPACE"
7577
env:

0 commit comments

Comments
 (0)