From 3a8a42e855a688420d88b56f0e1b792191c5aedb Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Wed, 12 Oct 2022 20:52:57 -0500 Subject: [PATCH] Added test assets for Docker strategy --- .github/workflows/actions.yml | 1 + test/Dockerfile | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 test/Dockerfile diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 28c833e..7e3c21a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -46,6 +46,7 @@ jobs: with: strategy: docker tag_prefix: test_docker_ + root: ./test env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/test/Dockerfile b/test/Dockerfile new file mode 100644 index 0000000..44a6dcd --- /dev/null +++ b/test/Dockerfile @@ -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"] \ No newline at end of file