fix(ci): use GITHUB_TOKEN for GHCR and stabilize Trivy scan
This commit is contained in:
2
.github/workflows/backend-beta.yml
vendored
2
.github/workflows/backend-beta.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
2
.github/workflows/backend-latest.yml
vendored
2
.github/workflows/backend-latest.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|||||||
2
.github/workflows/backend-release.yml
vendored
2
.github/workflows/backend-release.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
2
.github/workflows/cdn-beta.yml
vendored
2
.github/workflows/cdn-beta.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
|||||||
2
.github/workflows/cdn-latest.yml
vendored
2
.github/workflows/cdn-latest.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
|||||||
2
.github/workflows/cdn-release.yml
vendored
2
.github/workflows/cdn-release.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
|||||||
2
.github/workflows/frontend-beta.yml
vendored
2
.github/workflows/frontend-beta.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
2
.github/workflows/frontend-latest.yml
vendored
2
.github/workflows/frontend-latest.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|||||||
2
.github/workflows/frontend-release.yml
vendored
2
.github/workflows/frontend-release.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.ACCESS_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
@@ -9,7 +9,13 @@ CVE-2025-64756
|
|||||||
CVE-2025-58183
|
CVE-2025-58183
|
||||||
CVE-2025-61729
|
CVE-2025-61729
|
||||||
|
|
||||||
|
# Additional Go stdlib findings in embedded binaries
|
||||||
|
# These are from bundled toolchain/binary context, not executable paths used by the app runtime.
|
||||||
|
CVE-2025-68121
|
||||||
|
CVE-2025-61726
|
||||||
|
CVE-2025-61728
|
||||||
|
|
||||||
# jaraco.context Has a Path Traversal Vulnerability Fixed via setuptools
|
# jaraco.context Has a Path Traversal Vulnerability Fixed via setuptools
|
||||||
GHSA-58pv-8j8x-9vj2
|
GHSA-58pv-8j8x-9vj2
|
||||||
CVE-2026-23949
|
CVE-2026-23949
|
||||||
CVE-2026-24049
|
CVE-2026-24049
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ WORKDIR /app
|
|||||||
# Upgrade zlib to include Alpine security fixes
|
# Upgrade zlib to include Alpine security fixes
|
||||||
RUN apk upgrade --no-cache zlib
|
RUN apk upgrade --no-cache zlib
|
||||||
|
|
||||||
# Install pnpm globally first
|
# Upgrade global npm and pnpm tooling
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g npm@latest pnpm@latest
|
||||||
|
|
||||||
# Copy package files first for better Docker layer caching
|
# Copy package files first for better Docker layer caching
|
||||||
COPY package.json pnpm-lock.yaml* ./
|
COPY package.json pnpm-lock.yaml* ./
|
||||||
|
|||||||
Reference in New Issue
Block a user