Skip to content

Commit

Permalink
redhat
Browse files Browse the repository at this point in the history
  • Loading branch information
ADorigi committed Jul 2, 2024
1 parent c1c8ea3 commit cc40d74
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/installation-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
types: [released]

env:
REPOSITORY_OWNER: "adorigi"
HOMEBREW_TAP: "homebrew-adorigi"

jobs:
Expand All @@ -22,7 +23,7 @@ jobs:
Deb-Package:
runs-on: ubuntu-latest
container: ubuntu:24.10
container: debian
needs:
- Version-from-tag
steps:
Expand All @@ -39,15 +40,33 @@ jobs:
- name: Print Kaytu Version
run: kaytu version

RPM-Package:
runs-on: ubuntu-latest
container: redhat/ubi8:latest
needs:
- Version-from-tag
- Deb-Package
steps:
- name: Setup image
run: |
yum install wget -y
- name: Download Release
run: wget https://github.com/ADorigi/kaytu/releases/download/${{ github.event.release.tag_name }}/kaytu_${{ needs.Version-from-tag.outputs.version }}_linux_amd64.rpm
- name: Install Kaytu
run: |
rpm -i kaytu_${{ needs.Version-from-tag.outputs.version }}_linux_amd64.rpm
kaytu
- name: Print Kaytu Version
run: kaytu version

Homebrew:
runs-on: macos-latest
if: always()
needs:
- Version-from-tag
- RPM-Package
steps:
- name: Tap Kaytu's cli-tap
run: brew tap kaytu-io/cli-tap
run: brew tap ${{ env.REPOSITORY_OWNER }}/${{ env.HOMEBREW_TAP }}
- name: Install Kaytu
run: |
brew install kaytu
Expand Down

0 comments on commit cc40d74

Please sign in to comment.