From 677218493d255dde561be76a326adc1b5a464455 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Mon, 25 Sep 2023 09:38:36 -0400 Subject: [PATCH] Trying to tag the docker image --- .github/workflows/build-check.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml index fb9d89a9..7aa4e979 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/build-check.yml @@ -21,12 +21,16 @@ jobs: - name: Run Docker Container run: | - sudo docker run nwdepatie/ner-gcc-arm:latest + sudo docker run nwdepatie/ner-gcc-arm:latest -t ner-gcc-arm + + - name: List Docker Images + run: | + docker ps - name: Execute Make run: | sudo docker exec -it \ - nwdepatie/ner-gcc-arm:latest sh -c + ner-gcc-arm:latest sh -c "if ! make; then echo "The application has failed to build." exit 1 # This will cause the workflow to fail