mirror of
https://github.com/Neur0toxine/docker-node-alpine-git-gyp.git
synced 2024-11-28 07:16:01 +03:00
feat: adds basic smoke test
This commit is contained in:
parent
fc1e9e2bc8
commit
94e12ee872
13
.github/workflows/dockerimage.yml
vendored
Normal file
13
.github/workflows/dockerimage.yml
vendored
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user