Skip to content

Commit

Permalink
fix(cicd): fix secret used in publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sfopsbot committed Dec 16, 2023
1 parent 12a2d23 commit a7cd6a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
image: 'sfp-lite-rc'
secrets:
username: ${{ secrets.DOCKER_USERNAME }}
token: ${{ secrets.DOCKER_SECRET }}
token: ${{ secrets.GITHUB_TOKEN }}
needs: [ build-docker ]

beta-docker-lite:
Expand All @@ -144,7 +144,7 @@ jobs:
image: 'sfp-rc'
secrets:
username: ${{ secrets.DOCKER_USERNAME }}
token: ${{ secrets.DOCKER_SECRET }}
token: ${{ secrets.GITHUB_TOKEN }}
needs: [ build-docker-lite ]


Expand All @@ -168,7 +168,7 @@ jobs:
job-environment: 'sfpowerscripts-prod-docker'
secrets:
username: ${{ secrets.DOCKER_USERNAME }}
token: ${{ secrets.DOCKER_SECRET }}
token: ${{ secrets.GITHUB_TOKEN }}
signing_secret: ${{ secrets.SIGNING_SECRET }}
cosign_password: ${{ secrets.COSIGN_PASSWORD }}
needs: [ build-docker ]
Expand All @@ -182,7 +182,7 @@ jobs:
image-as: sfp-lite
secrets:
username: ${{ secrets.DOCKER_USERNAME }}
token: ${{ secrets.DOCKER_SECRET }}
token: ${{ secrets.GITHUB_TOKEN }}
signing_secret: ${{ secrets.SIGNING_SECRET }}
cosign_password: ${{ secrets.COSIGN_PASSWORD }}
needs: [ build-docker-lite ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagDockerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
new-tag: ${{ github.event.new-tag }}
registry: ghcr.io
username: ${{ secrets.DOCKER_USERNAME }}
token: ${{ secrets.DOCKER_SECRET }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a7cd6a0

Please sign in to comment.