Skip to content

Commit

Permalink
ci: fix nur publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Jul 17, 2024
1 parent 51c43e3 commit 96adbac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
scope: FriendsOfShopware/homebrew-tap
identity: release

- uses: octo-sts/[email protected]
id: sts-nur
with:
scope: FriendsOfShopware/nur-packages
identity: release

- name: Login into Github Docker Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

Expand All @@ -58,6 +64,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.sts-homebrew.outputs.token }}
NUR_GITHUB_TOKEN: ${{ steps.sts-nur.outputs.token }}
AUR_KEY: ${{ secrets.AUR_KEY }}

- name: Install Cloudsmith CLI
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ nix:
owner: FriendsOfShopware
name: nur-packages
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
token: "{{ .Env.NUR_GITHUB_TOKEN }}"
commit_author:
name: Frosh Automation
email: [email protected]
Expand Down

0 comments on commit 96adbac

Please sign in to comment.