Skip to content

Commit

Permalink
Merge pull request #15 from acoustic-warfare/Karlkorv-patch-1
Browse files Browse the repository at this point in the history
Update docker-image.yml
  • Loading branch information
Karlkorv authored Jul 2, 2024
2 parents 124bdd9 + fbd29a9 commit f74e400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
run: docker build . --file Dockerfile --tag beamformer:$(date +%s)
- name: Run the docker image
run: docker run -v $(pwd):/usr/src/app -e DISPLAY=$DISPLAY -it --network=host -v /tmp/.X11-unix:/tmp/.X11-unix --user=$(id -u $USER) beamformer bash
run: docker run -v $(pwd):/usr/src/app -e DISPLAY=$DISPLAY -it --network=host -v /tmp/.X11-unix:/tmp/.X11-unix --user=$(id -u $USER) beamformer:$(date +%s) bash
- name: Build the beamformer using CMake
run: cmake -S . -B build && cmake --build build

0 comments on commit f74e400

Please sign in to comment.