Skip to content

Trying to tag the docker image #5

Trying to tag the docker image

Trying to tag the docker image #5

Workflow file for this run

name: Build
on: [push]
jobs:
run-build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Docker
run: |
sudo apt-get -y update
sudo apt-get -y install docker
- name: Pull Docker Image
run: |
sudo docker pull nwdepatie/ner-gcc-arm
- name: Run Docker Container
run: |
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 \
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
fi"