diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c8fe9c..daeb5a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,12 @@ jobs: - name: Install Syft uses: anchore/sbom-action/download-syft@v0.16.1 + - uses: octo-sts/action@v1.0.0 + id: sts-homebrew + with: + scope: FriendsOfShopware/homebrew-tap + identity: release + - name: Login into Github Docker Registry run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin @@ -51,7 +57,7 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} + HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.sts-homebrew.outputs.token }} AUR_KEY: ${{ secrets.AUR_KEY }} - name: Install Cloudsmith CLI