diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml new file mode 100644 index 0000000..59fa700 --- /dev/null +++ b/.github/workflows/dockerimage.yml @@ -0,0 +1,13 @@ +name: Test Docker image + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build the Docker image + run: | + docker run -i $(docker build -q 10) /bin/sh -c "node --version && git --version" + docker run -i $(docker build -q 12) /bin/sh -c "node --version && git --version"