⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix(ci): declare and pass required secrets to image build workflow
justin4c8dda53c55e
diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.ymlindex fa3400de0..5cdbbf173 100644--- a/.github/workflows/build-images.yml+++ b/.github/workflows/build-images.yml@@ -21,6 +21,13 @@ on:required: falsetype: stringdefault: linux/amd64,linux/arm64+ secrets:+ # GHCR login token with package push rights.+ GH_PACKAGE_TOKEN:+ required: true+ # Source-map upload token; only the web image build uses it.+ SENTRY_AUTH_TOKEN:+ required: falsejobs:build:diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex cbb32c921..8e4f6cd06 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -19,8 +19,11 @@ jobs:permissions:contents: readpackages: write+uses: ./.github/workflows/build-images.yml- secrets: inherit+ secrets:+ GH_PACKAGE_TOKEN: ${{ secrets.GH_PACKAGE_TOKEN }}+ SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}with:source_mode: releasedversion: ${{ inputs.version }}diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.ymlindex e017c5621..2cfeeb8b9 100644--- a/.github/workflows/nightly.yml+++ b/.github/workflows/nightly.yml@@ -187,6 +187,7 @@ jobs:verify:name: Verify nightly buildif: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}+uses: ./.github/workflows/ci.ymlpublish-images:@@ -196,8 +197,11 @@ jobs:permissions:contents: readpackages: write+uses: ./.github/workflows/build-images.yml- secrets: inherit+ secrets:+ GH_PACKAGE_TOKEN: ${{ secrets.GH_PACKAGE_TOKEN }}+ SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}with:source_mode: nightlytags: |diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex f40d9cad8..189bc79fe 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -124,8 +124,11 @@ jobs:permissions:contents: readpackages: write+uses: ./.github/workflows/build-images.yml- secrets: inherit+ secrets:+ GH_PACKAGE_TOKEN: ${{ secrets.GH_PACKAGE_TOKEN }}+ SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}with:source_mode: plannedversion: ${{ needs.plan.outputs.version }}@@ -137,6 +140,7 @@ jobs:if: ${{ !inputs.dry_run && needs.plan.outputs.version != '' }}permissions:contents: read+uses: ./.github/workflows/helm-validate.ymlrelease:@@ -233,6 +237,7 @@ jobs:permissions:contents: readpackages: write+uses: ./.github/workflows/helm-chart.ymlwith:version: ${{ needs.plan.outputs.version }}