mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 14:49:32 +00:00
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:
parent
0bc9702854
commit
c769ee1f74
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build-docker.yml
vendored
6
.github/workflows/build-docker.yml
vendored
|
|
@ -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 }}
|
||||
Loading…
Reference in a new issue