File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -12,17 +12,20 @@ jobs:
1212
1313 steps :
1414 - name : Checkout code
15- uses : actions/checkout@v3
15+ uses : actions/checkout@v4
1616
1717 - name : Get package version
1818 id : get_version
1919 run : echo "version=$(jq -r .version package.json)" >> $GITHUB_ENV
2020
21+ - name : Set up QEMU
22+ uses : docker/setup-qemu-action@v3
23+
2124 - name : Set up Docker Buildx
22- uses : docker/setup-buildx-action@v2
25+ uses : docker/setup-buildx-action@v3
2326
2427 - name : Login to Docker Hub
25- uses : docker/login-action@v2
28+ uses : docker/login-action@v3
2629 with :
2730 username : ${{ secrets.DOCKER_USERNAME }}
2831 password : ${{ secrets.DOCKER_PASSWORD }}
3639 ${{ runner.os }}-buildx-
3740
3841 - name : Build and push Docker image
39- uses : docker/build-push-action@v5
42+ uses : docker/build-push-action@v6
4043 with :
4144 context : .
4245 file : Dockerfile
Original file line number Diff line number Diff line change 11# ## BASE IMAGE
2- FROM --platform=$BUILDPLATFORM node:20-bullseye-slim AS base
2+ FROM node:20-bullseye-slim AS base
33
44# ## BUILD IMAGE
55FROM base AS builder
66
77WORKDIR /codechat
88
99# Instalar dependências de construção primeiro
10- RUN apt-get update && apt-get install -y git
11- RUN apt-get install ffmpeg -y
10+ RUN apt-get update && apt-get install -y git ffmpeg && rm -rf /var/lib/apt/lists/*
1211
1312# Copiar arquivos package.json e instalar dependências
1413COPY package*.json ./
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ services:
3636 - CONFIG_SESSION_PHONE_CLIENT=CodeChat_V1
3737 - CONFIG_SESSION_PHONE_NAME=Edge
3838
39- - WA_VERSION=[ 2, 3000, 1015901307 ]
39+ - WA_VERSION=[ 2, 3000, 1023235404 ]
4040
4141 - QRCODE_LIMIT=10
4242 - QRCODE_EXPIRATION_TIME=60
You can’t perform that action at this time.
0 commit comments