Skip to content

Commit 0521e36

Browse files
authored
Merge branch 'master' into feat/tunneled_docker_ops
2 parents 87221f2 + beba9e3 commit 0521e36

File tree

370 files changed

+24741
-18800
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

370 files changed

+24741
-18800
lines changed

.github/workflows/add-sponsors.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
update-sponsors:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0
1818
ssh-key: ${{ secrets.DEPLOY_KEY }}
@@ -23,7 +23,7 @@ jobs:
2323
- name: Fetch sponsors
2424
id: fetch-sponsors
2525
run: |
26-
SPONSORS_JSON=$(curl -s -H "Authorization: token ${{ secrets.PAT }}" \
26+
SPONSORS_JSON=$(curl -s -H "Authorization: bearer ${{ secrets.PAT }}" \
2727
-X POST -d '{
2828
"query": "query { user(login:\"${{ github.repository_owner }}\") { sponsorshipsAsMaintainer(first: 100) { nodes { sponsor { login, avatarUrl, url } } } } }"
2929
}' https://api.github.com/graphql)

.github/workflows/auto-rebase-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222
with:
2323
fetch-depth: 0
2424
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/build_container.yml

Lines changed: 48 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
types: [published]
1313
workflow_dispatch:
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1519
env:
1620
REGISTRY: ghcr.io
1721
API_IMAGE: ${{ github.repository }}-api
@@ -20,34 +24,29 @@ env:
2024
NEXT_PUBLIC_PORT: 7443
2125

2226
jobs:
23-
build-and-push:
27+
build-and-push-api:
2428
runs-on: ubuntu-latest
2529
permissions:
2630
contents: read
2731
packages: write
2832

2933
steps:
3034
- name: Checkout repository
31-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6
3236
with:
3337
fetch-depth: 0
3438
ssh-key: ${{ secrets.DEPLOY_KEY }}
3539

36-
- name: Create .env files
37-
run: |
38-
cp .env.sample api/.env
39-
cp .env.sample view/.env
40+
- name: Create .env file
41+
run: cp .env.sample api/.env
4042

4143
- name: Set up Docker Buildx
4244
uses: docker/setup-buildx-action@v3
43-
44-
- name: Cache Docker layers
45-
uses: actions/cache@v4
4645
with:
47-
path: /tmp/.buildx-cache
48-
key: ${{ runner.os }}-buildx-${{ github.sha }}
49-
restore-keys: |
50-
${{ runner.os }}-buildx-
46+
platforms: linux/amd64,linux/arm64
47+
driver-opts: |
48+
image=moby/buildkit:latest
49+
network=host
5150
5251
- name: Log in to the Container registry
5352
uses: docker/login-action@v3
@@ -72,17 +71,44 @@ jobs:
7271
with:
7372
context: ./api
7473
push: true
74+
platforms: linux/amd64,linux/arm64
7575
tags: ${{ steps.meta-api.outputs.tags }}
7676
labels: ${{ steps.meta-api.outputs.labels }}
7777
build-args: |
7878
API_PORT=${{ env.API_PORT }}
79-
cache-from: type=local,src=/tmp/.buildx-cache
80-
cache-to: type=local,dest=/tmp/.buildx-cache-new
79+
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.API_IMAGE }}:buildcache
80+
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.API_IMAGE }}:buildcache,mode=max
81+
82+
build-and-push-view:
83+
runs-on: ubuntu-latest
84+
permissions:
85+
contents: read
86+
packages: write
8187

82-
- name: Move cache
83-
run: |
84-
rm -rf /tmp/.buildx-cache
85-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
88+
steps:
89+
- name: Checkout repository
90+
uses: actions/checkout@v4
91+
with:
92+
fetch-depth: 0
93+
ssh-key: ${{ secrets.DEPLOY_KEY }}
94+
95+
- name: Create .env file
96+
run: cp .env.sample view/.env
97+
98+
- name: Set up Docker Buildx
99+
uses: docker/setup-buildx-action@v3
100+
with:
101+
platforms: linux/amd64,linux/arm64
102+
driver-opts: |
103+
image=moby/buildkit:latest
104+
network=host
105+
106+
- name: Log in to the Container registry
107+
uses: docker/login-action@v3
108+
with:
109+
registry: ${{ env.REGISTRY }}
110+
username: ${{ github.actor }}
111+
password: ${{ secrets.GITHUB_TOKEN }}
86112

87113
- name: Extract metadata for View
88114
id: meta-view
@@ -100,14 +126,10 @@ jobs:
100126
with:
101127
context: ./view
102128
push: true
129+
platforms: linux/amd64,linux/arm64
103130
tags: ${{ steps.meta-view.outputs.tags }}
104131
labels: ${{ steps.meta-view.outputs.labels }}
105132
build-args: |
106133
NEXT_PUBLIC_PORT=${{ env.NEXT_PUBLIC_PORT }}
107-
cache-from: type=local,src=/tmp/.buildx-cache
108-
cache-to: type=local,dest=/tmp/.buildx-cache-new
109-
110-
- name: Move cache
111-
run: |
112-
rm -rf /tmp/.buildx-cache
113-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
134+
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.VIEW_IMAGE }}:buildcache
135+
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.VIEW_IMAGE }}:buildcache,mode=max

.github/workflows/coderabbit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717

1818
- name: Run Coderabbit Review
1919
uses: coderabbitai/ai-pr-reviewer@latest

.github/workflows/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
update-deps:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313

1414
- name: Set up Go
1515
uses: actions/setup-go@v5

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
with:
3232
fetch-depth: 0
3333

.github/workflows/format.yaml

Lines changed: 0 additions & 158 deletions
This file was deleted.

.github/workflows/release-cli.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2828
with:
2929
fetch-depth: 0
3030
ssh-key: ${{ secrets.DEPLOY_KEY }}
@@ -190,7 +190,7 @@ jobs:
190190

191191
steps:
192192
- name: Checkout code
193-
uses: actions/checkout@v4
193+
uses: actions/checkout@v6
194194
with:
195195
fetch-depth: 0
196196
ssh-key: ${{ secrets.DEPLOY_KEY }}
@@ -308,10 +308,11 @@ jobs:
308308

309309
steps:
310310
- name: Checkout code
311-
uses: actions/checkout@v4
311+
uses: actions/checkout@v6
312312
with:
313313
token: ${{ secrets.GITHUB_TOKEN }}
314314
fetch-depth: 0
315+
persist-credentials: false
315316

316317
- name: Download all artifacts
317318
uses: actions/download-artifact@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
pull-requests: write
1919
steps:
2020
- name: Checkout Repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222
with:
2323
fetch-depth: 0
2424
ssh-key: ${{ secrets.DEPLOY_KEY }}

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
dependency-scan:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121

2222
- name: Run Trivy vulnerability scanner
2323
uses: aquasecurity/trivy-action@master
@@ -34,7 +34,7 @@ jobs:
3434
secret-scan:
3535
runs-on: ubuntu-latest
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v6
3838

3939
- name: Run TruffleHog
4040
uses: trufflesecurity/trufflehog@main

0 commit comments

Comments
 (0)