diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 794463e..a822fca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -143,3 +143,18 @@ jobs: path: | tests/e2e/screenshots tests/e2e/videos + + docker-image: + needs: e2e + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 1 + + - name: Build image + uses: docker/build-push-action@v3 + with: + push: false + context: . \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index f08ec68..5937dfa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ FROM node:14-alpine as frontend_builder WORKDIR /build -COPY --from=openapi-generator /local/assets/openapi /build/assets/openapi +COPY --from=openapi-generator /local/assets/openapi/src /build/assets/openapi COPY package.json . COPY package-lock.json . @@ -48,7 +48,7 @@ RUN npm remove cypress RUN npm ci COPY . . -RUN npm run lint && npm run build +RUN npm run build # runtime FROM alpine:3 diff --git a/assets/openapi/.gitkeep b/assets/openapi/.gitkeep deleted file mode 100644 index e69de29..0000000