docker-node-alpine-git-gyp/.github/workflows/dockerimage.yml
2021-05-11 14:35:02 +02:00

14 lines
372 B
YAML

name: Test Docker image
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: |
docker run -i $(docker build -q 12) /bin/sh -c "node --version && git --version"
docker run -i $(docker build -q 14) /bin/sh -c "node --version && git --version"