docker-node-alpine-git-gyp/.github/workflows/dockerimage.yml
dependabot[bot] f7ea557f9b
build(deps): bump actions/checkout from 2.4.0 to 3 (#152)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 14:29:19 +00:00

15 lines
533 B
YAML

name: Test Docker image
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
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"