Skip to content

Commit

Permalink
[#86] Fix apt-get in github workflows
Browse files Browse the repository at this point in the history
apt-get install may fail if it is used directly without
update the mirror list with apt-get update

Signed-off-by: Tiago Bueno <[email protected]>
  • Loading branch information
tlbueno committed Nov 10, 2023
1 parent e9b52e7 commit f2c53ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
run: >
mkdir -p $HOME/.local/bin &&
echo "$HOME/.local/bin" >> $GITHUB_PATH &&
sudo apt-get update &&
sudo apt-get install gcc libkrb5-dev &&
sudo pip install docker==5.0.3 docker-squash cekit odcs[client] packaging==21.3 behave lxml &&
wget -O source-to-image.tar.gz $S2I_RELEASE_URL &&
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
steps:
- name: Install prerequisites
run: >
sudo apt-get update &&
sudo apt-get install gcc libkrb5-dev pass &&
sudo pip install docker==5.0.3 docker-squash cekit odcs[client] packaging==21.3
- name: Checkout the repo
Expand Down

0 comments on commit f2c53ad

Please sign in to comment.