Skip to content

Commit

Permalink
chore(release): use release environment secrets (#2374)
Browse files Browse the repository at this point in the history
## Description

Release will use environment secrets from the `release` environment.

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed

---------

Signed-off-by: razzle <harry@razzle.cloud>
  • Loading branch information
Noxsios committed Mar 11, 2024
1 parent 6ac219b commit 267c165
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
push:
runs-on: ubuntu-latest
needs: validate
environment: release
permissions:
contents: write
steps:
Expand Down Expand Up @@ -176,8 +177,8 @@ jobs:
id: brew-tap-token
uses: peter-murray/workflow-application-token-action@dc0413987a085fa17d19df9e47d4677cf81ffef3 # v3.0.0
with:
application_id: ${{ secrets.BREW_TAP_APP_ID }}
application_private_key: ${{ secrets.BREW_TAP_APP_KEY }}
application_id: ${{ secrets.HOMEBREW_TAP_WORKFLOW_GITHUB_APP_ID }}
application_private_key: ${{ secrets.HOMEBREW_TAP_WORKFLOW_GITHUB_APP_SECRET }}
organization: defenseunicorns

# Create the GitHub release notes, upload artifact backups to S3, publish homebrew recipe
Expand Down

0 comments on commit 267c165

Please sign in to comment.