Skip to content

Commit d0ffe17

Browse files
committed
Test using setup-python to set default python to 3.10
1 parent 712c3f8 commit d0ffe17

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ jobs:
113113
needs:
114114
- generate-tag
115115
steps:
116+
- name: Use Python 3.10
117+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
118+
with:
119+
python-version: '3.10'
120+
116121
- name: Install package dependencies
117122
run: |
118123
sudo apt update
@@ -164,7 +169,7 @@ jobs:
164169
- name: Install Docker Python SDK
165170
run: |
166171
sudo pip install docker 'requests<2.32.0'
167-
172+
168173
- name: Get Kolla tag
169174
id: write-kolla-tag
170175
run: echo "kolla-tag=${{ needs.generate-tag.outputs.openstack_release }}-${{ matrix.distro }}-${{ matrix.distro == 'rocky' && '9' || 'jammy' }}-${{ needs.generate-tag.outputs.datetime_tag }}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)