Skip to content

Commit 363d786

Browse files
committed
fix(helm/test-chart): pass helm-set properly
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent c1b33e4 commit 363d786

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

actions/helm/test-chart/action.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -153,27 +153,6 @@ runs:
153153
if: ${{ inputs.enable-install == 'true' }}
154154
uses: helm/kind-action@v1.12.0
155155

156-
- uses: docker/login-action@v3
157-
with:
158-
registry: ${{ inputs.oci-registry }}
159-
username: ${{ inputs.oci-registry-username }}
160-
password: ${{ inputs.oci-registry-password }}
161-
162-
- shell: bash
163-
run: |
164-
cat ~/.docker/config.json
165-
166-
HELM_SET="${{ inputs.helm-set }}"
167-
# Extract image tag
168-
IMAGE_TAG=$(echo "$HELM_SET" | grep -oP '(?<=tag=)[^,]*' | tr -d '[:space:]')
169-
170-
IMAGE="ghcr.io/cigales-cloud/landing-page/application:$IMAGE_TAG"
171-
172-
echo "IMAGE=$IMAGE"
173-
174-
# Try to pull the image from the OCI registry
175-
docker pull "$IMAGE"
176-
177156
- name: Install default OCI registry secrets
178157
id: oci-registry-secret
179158
if: ${{ inputs.enable-install == 'true' && inputs.oci-registry != '' && inputs.oci-registry-username != '' && inputs.oci-registry-password != '' }}

0 commit comments

Comments
 (0)