This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4274b46
commit 1d71c98
Showing
1 changed file
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
name: Get screenshot of running container | ||
#TODO: find a way to log errors from docker container onto github | ||
#TODO: find a way to test client and server before running the docker container, seems effective in catching any errors | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build-docker-image: | ||
name: Build docker image for testing | ||
build-docker-nvidia: | ||
name: Build nvidia Docker image | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- | ||
name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- | ||
name: Build docker image with docker compose | ||
run: | | ||
cp docker/nvidia/Dockerfile . | ||
docker build -t qwantify:nvidia . | ||
name: Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- | ||
name: Build Docker image | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: ./ | ||
file: docker/nvidia/Dockerfile | ||
push: false | ||
load: true | ||
tags: warp:latest |