2020-01-28 22:19:38 +03:00
|
|
|
name: Test Docker image
|
|
|
|
|
2020-06-13 15:57:38 +03:00
|
|
|
on: [push, pull_request]
|
2020-01-28 22:19:38 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-10-18 14:33:30 +03:00
|
|
|
- uses: actions/checkout@v2.3.5
|
2020-01-28 22:19:38 +03:00
|
|
|
- name: Build the Docker image
|
|
|
|
run: |
|
2021-08-10 13:04:14 +03:00
|
|
|
docker run -i $(docker build -q 12) /bin/sh -c "node --version && npm --version && git --version"
|
|
|
|
docker run -i $(docker build -q 14) /bin/sh -c "node --version && npm --version && git --version"
|
|
|
|
docker run -i $(docker build -q 16) /bin/sh -c "node --version && npm --version && git --version"
|