-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Samuel Isola
committed
Apr 18, 2024
1 parent
60b2117
commit 4e366e8
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Trigger installer release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
release-installer: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install gh cli | ||
run: | | ||
wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \ | ||
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \ | ||
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \ | ||
&& sudo apt update \ | ||
&& sudo apt install gh -y | ||
- name: Trigger installer release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.INSTALLER_REPO_TOKEN }} | ||
run: gh workflow run release_mondoo_pkgs.yaml --repo "mondoohq/installer" --field version=${{ github.ref_name }} |