Skip to content

Commit f38a349

Browse files
committed
Fix externally-managed-environment issue for new Ubuntu
1 parent c744bea commit f38a349

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-publish-docker-helm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,16 @@ jobs:
3939

4040
- name: Install chart publishing dependencies (chartpress, helm)
4141
run: |
42+
python3 -m venv venv
43+
source venv/bin/activate
4244
pip install chartpress
4345
pip list
4446
4547
helm version
4648
4749
- name: Build and push Docker image. Update the image tag, chart version etc as needed
4850
run: |
51+
source venv/bin/activate
4952
cd deploy/helm
5053
# hack to push the image to ghcr.io. We will update chartpress.yaml when we move to separate deploy repo
5154
python -c "import re; data=open('chartpress.yaml').read(); open('chartpress.yaml', 'w').write(re.sub(r'ifrcgoacr.azurecr.io/ifrcgo-', 'ghcr.io/ifrcgo/go-', data))"

0 commit comments

Comments
 (0)