Added test assets for Docker strategy

This commit is contained in:
Corey Butler 2022-10-12 20:52:57 -05:00
parent bacfccaa39
commit 3a8a42e855
No known key found for this signature in database
GPG Key ID: 11C5CD9E1B4C7F8F
2 changed files with 7 additions and 0 deletions

View File

@ -46,6 +46,7 @@ jobs:
with:
strategy: docker
tag_prefix: test_docker_
root: ./test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

6
test/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM node:13-alpine
LABEL version=1.1.0
ADD ./app /app
WORKDIR /app
RUN cd /app && npm i
CMD ["node", "/app/main.js"]