Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/typescript'
Browse files Browse the repository at this point in the history
  • Loading branch information
eliteSchwein committed Jan 7, 2022
2 parents b0cf193 + 379760c commit c139922
Show file tree
Hide file tree
Showing 214 changed files with 64,181 additions and 8,373 deletions.
48 changes: 48 additions & 0 deletions .github/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build container images for release

on:
# Triggers the workflow on new releases
release:
types:
- "created"
- "edited"
- "published"
- "released"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
ghcr.io/${{ github.repository_owner }}/mooncord
tags: |
type=ref,event=pr
type=ref,event=branch
type=ref,event=tag
type=sha
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to ghcr.io/$
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM node:16-alpine as builder

WORKDIR /app

COPY . .

RUN npm ci
RUN npm run build

FROM node:16-alpine

WORKDIR /app

RUN apk add --no-cache tini ffmpeg

# Since dist/ will not contain everything needed to run Mooncord, copy all of /app for now
COPY --from=builder /app/ /app/

USER node

ENTRYPOINT ["/tini", "--"]
CMD ["node", "/app/dist/index.js"]
Binary file added assets/icon-sets/acryl/cpu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/execute.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added assets/icon-sets/acryl/mcu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/memory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/printlist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/snapshot-error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/system.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/temps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/thumbnail_not_found.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-sets/acryl/warning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added assets/icon-sets/material/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added assets/icon-sets/material/snapshot-error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added assets/images/logo.png
70 changes: 0 additions & 70 deletions clients/discordClient.js

This file was deleted.

131 changes: 0 additions & 131 deletions clients/moonrakerClient.js

This file was deleted.

8 changes: 0 additions & 8 deletions discord/buttons-metadata/list_files.json

This file was deleted.

18 changes: 0 additions & 18 deletions discord/buttons-metadata/print_job.json

This file was deleted.

15 changes: 0 additions & 15 deletions discord/buttons/index.js

This file was deleted.

21 changes: 0 additions & 21 deletions discord/buttons/klipperRestart.js

This file was deleted.

Loading

0 comments on commit c139922

Please sign in to comment.