2020-01-28 22:19:38 +03:00
|
|
|
name: Test Docker image
|
|
|
|
|
2022-02-17 15:35:16 +03:00
|
|
|
on: [push, pull_request, workflow_dispatch]
|
2020-01-28 22:19:38 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-02 17:29:19 +03:00
|
|
|
- uses: actions/checkout@v3
|
2020-01-28 22:19:38 +03:00
|
|
|
- name: Build the Docker image
|
|
|
|
run: |
|
2022-07-27 09:15:55 +03:00
|
|
|
docker run -i $(docker build -q 14) /bin/sh -c "node --version && npm --version && bash --version && ssh -V && git --version && python3 -V && make -v && g++ -v"
|
|
|
|
docker run -i $(docker build -q 16) /bin/sh -c "node --version && npm --version && bash --version && ssh -V && git --version && python3 -V && make -v && g++ -v"
|
|
|
|
docker run -i $(docker build -q 14-3.13) /bin/sh -c "node --version && npm --version && bash --version && ssh -V && git --version && python3 -V && make -v && g++ -v"
|
|
|
|
docker run -i $(docker build -q 16-3.13) /bin/sh -c "node --version && npm --version && bash --version && ssh -V && git --version && python3 -V && make -v && g++ -v"
|