update
All checks were successful
Deploy / publish-windows (push) Successful in 19s

This commit is contained in:
2025-12-23 00:59:01 +06:00
parent 50c56e87ff
commit 72f46df4d1
2 changed files with 13 additions and 12 deletions

View File

@@ -30,13 +30,25 @@ jobs:
- name: Build - name: Build
run: | run: |
docker build \ docker build \
-t chad-client-windows \ -t chad-client-windows-builder \
-f ./client/Dockerfile.windows \ -f ./client/Dockerfile.windows \
./client \ ./client \
--build-arg COMMIT_SHA=${{ gitea.sha }} \ --build-arg COMMIT_SHA=${{ gitea.sha }} \
--build-arg API_BASE_URL=${{ vars.API_BASE_URL }} \ --build-arg API_BASE_URL=${{ vars.API_BASE_URL }} \
--build-arg TAURI_SIGNING_PRIVATE_KEY=${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} --build-arg TAURI_SIGNING_PRIVATE_KEY=${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
docker create --name chad-client-windows-container chad-client-windows-builder
docker cp chad-client-windows-container:/app/src-tauri/target/x86_64-pc-windows-msvc/release/bundle/nsis ./nsis
docker rm chad-client-windows-container
- name: Publish
uses: akkuman/gitea-release-action@v1
with:
files: |
nsis/**
body: "New version"
draft: true
# publish-web: # publish-web:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest

View File

@@ -1,18 +1,7 @@
FROM node:lts FROM node:lts
# SHELL ["/bin/bash", "-c"]
WORKDIR /app WORKDIR /app
# RUN apt update
#
# RUN apt install -y curl unzip
# RUN curl -fsSL https://fnm.vercel.app/install | bash
# RUN ~/.local/share/fnm/fnm install 24
# RUN ~/.local/share/fnm/fnm use 24
RUN corepack enable yarn RUN corepack enable yarn
RUN yarn set version stable RUN yarn set version stable