-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
1,157 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
name: Build desktop app for ${{ matrix.platform }} | ||
strategy: | ||
matrix: | ||
platform: [ macos-latest, ubuntu-latest, windows-latest ] | ||
platform: [ macos-latest, ubuntu-24.04, windows-latest ] | ||
runs-on: ${{ matrix.platform }} | ||
env: | ||
TAURI_SIGNING_PRIVATE_KEY: "${{ secrets.TAURI_PRIVATE_KEY }}" | ||
|
@@ -60,11 +60,11 @@ jobs: | |
### LINUX | ||
|
||
- name: linux > build | ||
run: make TAURI_SIGNING_PRIVATE_KEY="${{ secrets.TAURI_PRIVATE_KEY }}" TAURI_SIGNING_PRIVATE_KEY_PASSWORD="${{ secrets.TAURI_KEY_PASSWORD }}" DOCKER_USERID=1001 build_docker_tauri | ||
if: matrix.platform == 'ubuntu-latest' | ||
run: make TAURI_SIGNING_PRIVATE_KEY="${{ secrets.TAURI_PRIVATE_KEY }}" TAURI_SIGNING_PRIVATE_KEY_PASSWORD="${{ secrets.TAURI_KEY_PASSWORD }}" build_docker_tauri | ||
if: matrix.platform == 'ubuntu-24.04' | ||
|
||
- name: linux > upload artifacts | ||
if: matrix.platform == 'ubuntu-latest' | ||
if: matrix.platform == 'ubuntu-24.04' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: linux_artifacts | ||
|
@@ -141,12 +141,12 @@ jobs: | |
build_browser_extensions: | ||
name: Build browser extensions | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: build extensions | ||
run: make DOCKER_USERID=1001 build_browser_extensions | ||
run: make build_browser_extensions | ||
|
||
- name: upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
|
@@ -159,7 +159,7 @@ jobs: | |
build_docker: | ||
name: Build docker images | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -195,7 +195,7 @@ jobs: | |
- build_desktop | ||
- build_docker | ||
- build_browser_extensions | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: martinbeentjes/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
FROM node:22.5.1-bookworm | ||
ARG USERID=1000 | ||
ENV APP_HOME=/app | ||
|
||
RUN if ! id -u $USERID > /dev/null 2>&1; then useradd --uid $USERID -m dev; fi | ||
|
||
RUN mkdir -p $APP_HOME | ||
|
||
RUN apt-get update -qq \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install -y \ | ||
zip \ | ||
&& apt-get install -y zip \ | ||
&& apt-get clean \ | ||
&& apt-get autoclean \ | ||
&& apt-get autoremove -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir /app | ||
WORKDIR /app | ||
WORKDIR $APP_HOME | ||
|
||
RUN npm install --global web-ext | ||
|
||
COPY package.json . | ||
COPY yarn.lock . | ||
COPY . . | ||
|
||
RUN yarn install | ||
COPY . . | ||
|
||
RUN chown -R $USERID:$USERID /app | ||
RUN chown -R $USERID:$USERID $APP_HOME | ||
|
||
USER $USERID | ||
|
||
ENTRYPOINT ["/bin/bash"] | ||
ENTRYPOINT ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.