Skip to content

A self-hosted media server and file management system

fix: docker and github publishing actions don't have secret access

aminnausin2466e88673d7
diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml
index c86dc482..ad06669e 100644
--- a/.github/workflows/ci-main.yml
+++ b/.github/workflows/ci-main.yml
@@ -133,6 +133,7 @@ jobs:
branch: main
permissions:
contents: write
+ secrets: inherit
# ==========================
# Release Docker Setup Pkg
@@ -142,6 +143,7 @@ jobs:
uses: ./.github/workflows/release-github.yml
permissions:
contents: write
+ secrets: inherit
with:
tag: ${{ needs.beta-flow.outputs.tag }}
release_name: 'Beta Release - ${{ needs.beta-flow.outputs.tag }}'
diff --git a/.github/workflows/ci-prod.yml b/.github/workflows/ci-prod.yml
index 9760b9bb..6d56cde8 100644
--- a/.github/workflows/ci-prod.yml
+++ b/.github/workflows/ci-prod.yml
@@ -109,6 +109,7 @@ jobs:
branch: prod
permissions:
contents: write
+ secrets: inherit
# ==========================
# Release Docker Setup Pkg (Always)
@@ -118,6 +119,7 @@ jobs:
uses: ./.github/workflows/release-github.yml
permissions:
contents: write
+ secrets: inherit
with:
tag: ${{ needs.release-flow.outputs.tag }}
release_name: 'Release - ${{ needs.release-flow.outputs.tag }}'