Skip to content

Commit 3fdc323

Browse files
fix: install test
2 parents 5e4e915 + 4e00f3b commit 3fdc323

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/helm-install-test.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 15
1313
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v6
14+
- name: Set up Helm
15+
uses: azure/setup-helm@v4.3.1
16+
17+
- name: Log in to Container Registry
18+
run: |
19+
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
1620
1721
- name: Create Kind cluster
1822
uses: helm/kind-action@v1
@@ -101,13 +105,10 @@ jobs:
101105
EOF
102106
kubectl wait --for=condition=ready pod -l app=redis -n s3proxy --timeout=120s
103107
104-
- name: Build Helm dependencies
105-
run: helm dependency build manifests/
106-
107-
- name: Install chart from GHCR image
108+
- name: Install chart from GHCR
108109
run: |
109110
OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
110-
helm install s3proxy manifests/ \
111+
helm install s3proxy oci://ghcr.io/${OWNER}/charts/s3proxy-python --version 0.0.0-latest \
111112
--namespace s3proxy \
112113
--set image.repository=ghcr.io/${OWNER}/s3proxy-python \
113114
--set image.tag=latest \

0 commit comments

Comments
 (0)