Skip to content

Commit

Permalink
Merge pull request #407 from TosiDrop/master
Browse files Browse the repository at this point in the history
3.1.0 Release
  • Loading branch information
reqlez authored Feb 28, 2023
2 parents 1d6add2 + ac1fa46 commit 0d26581
Show file tree
Hide file tree
Showing 30 changed files with 2,604 additions and 1,693 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 17.x]
node-version: [18.x]
target: [client, server]
steps:
- uses: actions/checkout@v2
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ jobs:
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
# TEMP fix
# Something strange is happening with the manifests when we push which
# breaks the downstream multi-arch-manifest, so pull and push to work
# around this by resubmitting manifests
- name: pull-and-push
run: |
for t in `echo '${{ steps.meta-arch.outputs.tags }}'`; do
docker pull $t && docker push $t
done
build-arm64:
runs-on: self-hosted
Expand Down Expand Up @@ -131,6 +140,15 @@ jobs:
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
# TEMP fix
# Something strange is happening with the manifests when we push which
# breaks the downstream multi-arch-manifest, so pull and push to work
# around this by resubmitting manifests
- name: pull-and-push
run: |
for t in `echo '${{ steps.meta-arch.outputs.tags }}'`; do
docker pull $t && docker push $t
done
multi-arch-manifest:
runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16 AS base
FROM node:18 AS base

FROM base AS builder
WORKDIR /code/client
Expand All @@ -11,11 +11,15 @@ RUN npm run build
FROM base AS final
WORKDIR /app
COPY --from=builder /code/server/index.ts /code/server/package.json /code/server/tsconfig.json ./server/
COPY --from=builder /code/server/routes ./server/routes/
COPY --from=builder /code/server/service ./server/service/
COPY --from=builder /code/server/types ./server/types/
COPY --from=builder /code/server/utils ./server/utils/
COPY --from=builder /code/server/middlewares ./server/middlewares/
COPY --from=builder /code/server/public ./server/public/
COPY --from=builder /code/server/node_modules ./server/node_modules/
COPY --from=builder /code/client/src/entities/ ./client/src/entities/
COPY --from=builder /code/client/src/services/ ./client/src/services/
COPY --from=builder /code/client/build/ ./client/build/
COPY --chmod=555 docker-entrypoint.sh .
ENTRYPOINT ["/app/docker-entrypoint.sh"]
ENTRYPOINT ["/app/docker-entrypoint.sh"]
Loading

0 comments on commit 0d26581

Please sign in to comment.