Skip to content

Commit

Permalink
🐛 fix podman installation
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Gaikwad <[email protected]>
  • Loading branch information
pranavgaikwad committed Dec 17, 2024
1 parent 53eff87 commit f12178b
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,17 @@ jobs:
if: github.event_name == 'push' || github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master
# - name: Setup Homebrew
# uses: Homebrew/actions/setup-homebrew@master

- name: Upgrade podman
run: |
sudo apt-get install -y ansible
# export DEB=$(curl -s https://passt.top/builds/latest/x86_64/ | grep deb | awk -F '"' '{ print $4}')
# sudo ansible -m apt -a deb=https://passt.top/builds/latest/x86_64/${DEB} localhost
sudo apt-get remove podman crun
brew install crun podman
# - name: Upgrade podman
# run: |
# # export DEB=$(curl -s https://passt.top/builds/latest/x86_64/ | grep deb | awk -F '"' '{ print $4}')
# # curl -LO https://passt.top/builds/latest/x86_64/${DEB}
# # sudo apt-get install -y --allow-downgrades ./$(basename ${DEB})
# # sudo apt-get remove podman crun
# # brew install crun podman
# sudo apt-get update && sudo apt-get -y install podman

- name: Extract pull request number from inputs or PR description
run: |
Expand Down Expand Up @@ -110,9 +111,9 @@ jobs:

- name: Upgrade podman
run: |
sudo apt-get install -y ansible
export DEB=$(curl -s https://passt.top/builds/latest/x86_64/ | grep deb | awk -F '"' '{ print $4}')
sudo ansible -m apt -a deb=https://passt.top/builds/latest/x86_64/${DEB} localhost
curl -LO https://passt.top/builds/latest/x86_64/${DEB}
sudo apt-get install -y --allow-downgrades ./$(basename ${DEB})
sudo apt-get remove podman crun
brew install crun podman
Expand Down

0 comments on commit f12178b

Please sign in to comment.