Skip to content

Commit

Permalink
Build runtime docker target instead of development (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdye64 authored Oct 1, 2024
1 parent 4c52989 commit 7732b81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# Build the Docker image using the Dockerfile
- name: Build Docker image
run: |
docker build -t nv-ingest:latest .
docker build --target runtime -t nv-ingest:latest .
- name: Run Pytest inside Docker container
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-nightly-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# Build the Docker image using the Dockerfile
- name: Build Docker image
run: |
docker build -t ${{ secrets.DOCKER_REGISTRY }}/nv-ingest:${{ env.CURRENT_DATE }} .
docker build --target runtime -t ${{ secrets.DOCKER_REGISTRY }}/nv-ingest:${{ env.CURRENT_DATE }} .
# Login to NGC
- name: Log in to NGC Registry
Expand Down

0 comments on commit 7732b81

Please sign in to comment.