Skip to content

Merge pull request #14 from Stocard/node-18 #16

Merge pull request #14 from Stocard/node-18

Merge pull request #14 from Stocard/node-18 #16

name: Docker Image Build & Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
NODE: [12, 14, 16, 18]
steps:
- uses: actions/checkout@v2
- name: Insert node version into Dockerfile
run: sed -i "s/{VERSION}/${{ matrix.NODE }}/g" ./Dockerfile
- name: Build the Docker image
run: docker build -t stocard/node:${{ matrix.NODE }} .