diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index db4c2b1..58d026b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -17,14 +17,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Check Out Repo - uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325 # v2.2.1 + uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0 - name: Login to GitHub Container Registry - uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0 if: ${{ github.event_name != 'pull_request' }} with: registry: ghcr.io @@ -41,7 +41,7 @@ jobs: run: if [ "${{ github.event_name }}" = "release" ]; then echo ::set-output name=name::; else echo ::set-output name=name::-dev; fi - name: Generate Docker image metadata - uses: docker/metadata-action@57396166ad8aefe6098280995947635806a0e6ea # v4.1.1 + uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0 id: img_meta with: flavor: | @@ -53,7 +53,7 @@ jobs: latest - name: Build and push id: docker_build - uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3.2.0 + uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1 with: context: ./ tags: ${{ steps.img_meta.outputs.tags }} diff --git a/Dockerfile b/Dockerfile index 457f824..17d4770 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine3.14 as build-stage +FROM node:16.15.1-alpine3.14 as build-stage LABEL name "Nezly Docker Build" LABEL maintainer "KagChi" @@ -17,7 +17,7 @@ RUN npm run compile RUN npm prune --production -FROM node:16-alpine3.14 +FROM node:16.15.1-alpine3.14 LABEL name "Nezly Production" LABEL maintainer "KagChi" diff --git a/package.json b/package.json index 62b090c..a226054 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,10 @@ "license": "GPL-3.0", "devDependencies": { "@hazmi35/eslint-config": "^8.7.1", - "@swc/cli": "^0.1.57", - "@swc/core": "^1.3.24", - "@types/express": "^4.17.15", - "@types/node": "^17.0.31", + "@swc/cli": "^0.4.0", + "@swc/core": "^1.7.26", + "@types/express": "^4.17.21", + "@types/node": "^17.0.45", "@typescript-eslint/eslint-plugin": "^5.53.0", "@typescript-eslint/parser": "^5.53.0", "eslint": "^8.34.0", @@ -44,16 +44,16 @@ } }, "dependencies": { - "@kirishima/rest": "^0.2.5", + "@kirishima/rest": "^0.2.7", "@sapphire/result": "^2.6.0", "@sapphire/time-utilities": "^1.7.8", "@sapphire/utilities": "^3.11.0", - "dotenv": "^16.0.3", - "fastify": "^4.10.2", + "dotenv": "^16.4.5", + "fastify": "^4.28.1", "lavalink-api-types": "^1.1.5", - "pino": "^8.8.0", - "pino-pretty": "^9.1.1", - "reflect-metadata": "^0.1.13", - "undici": "^5.14.0" + "pino": "^8.21.0", + "pino-pretty": "^9.4.1", + "reflect-metadata": "^0.2.2", + "undici": "^5.28.4" } }