From fbd29a9b75d71a1a974c4ca24b9c0974997f4f45 Mon Sep 17 00:00:00 2001 From: Janne Schyffert <89573122+Karlkorv@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:59:59 +0200 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index d73ed03..6bd8b08 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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