fix(security): This workflow uses secrets: inherit to pass all of the calling workflow's secrets to a reusable workflo

This commit is contained in:
begininvoke 2026-08-19 00:31:19 -07:00
commit c769ee1f74

View file

@ -17,7 +17,9 @@ env:
jobs:
tests:
uses: ./.github/workflows/run-tests.yml
secrets: inherit
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
build:
needs: [tests]
@ -108,4 +110,4 @@ jobs:
$(printf '${{ env.IMAGE }}@sha256:%s ' *)
- name: Inspect image
run: docker buildx imagetools inspect ${{ env.IMAGE }}:${{ github.sha }}
run: docker buildx imagetools inspect ${{ env.IMAGE }}:${{ github.sha }}