Skip to content

Commit 80adb8d

Browse files
authored
Merge pull request #2089 from stackhpc/fix-container-image-build-caracal
CI: Fix container image build workflow (Caracal)
2 parents 2648bd5 + 8cc0792 commit 80adb8d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,12 @@ jobs:
178178
# Normally installed during host configure.
179179
- name: Install Docker Python SDK
180180
run: |
181-
sudo pip install docker 'requests<2.32.0'
181+
. /etc/os-release
182+
if [[ $VERSION_ID == 22.04 ]]; then
183+
sudo pip install docker 'requests<2.32.0'
184+
else
185+
sudo pip install docker 'requests<2.32.0' --break-system-packages
186+
fi
182187
183188
- name: Get Kolla tag
184189
id: write-kolla-tag

0 commit comments

Comments
 (0)