From 6d3ac0201be7a08fa0482acacdae6cfec16b55a6 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 21 Aug 2024 12:33:15 +0100 Subject: [PATCH 01/34] test: try digest retrival command --- .github/actions/pr-chart/action.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 46f589f3..d6e34520 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -103,10 +103,18 @@ runs: helm package ${{ inputs.chart }} --version ${{ env.PR_COMMIT_TAG }} helm push ${{ inputs.registry-repo }}-${{ env.PR_COMMIT_TAG }}.tgz oci://${{ env.CHART_PROJECT }} + - name: get digest + id: digest + if: steps.helm.outcome == 'success' + shell: bash + run: | + echo "::set-output name=digest::${helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}-${{ env.PR_TAG }}^[dD]igest:\s(?:sha256:\s)?(.+)$}" + - name: build success if: steps.helm.outcome == 'success' shell: bash run: | + echo "${steps.digest.outputs.digest}" echo "${SUMMARY}" >> "$GITHUB_STEP_SUMMARY" env: SUMMARY: | From 98cb5092ac07169df3f25eb6308d810f8fdd88c5 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 21 Aug 2024 12:42:35 +0100 Subject: [PATCH 02/34] test: update digest retrival command --- .github/actions/pr-chart/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index d6e34520..c76de39c 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,6 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | + helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}-${{ env.PR_TAG }} echo "::set-output name=digest::${helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}-${{ env.PR_TAG }}^[dD]igest:\s(?:sha256:\s)?(.+)$}" - name: build success From fe7d57a3b5de3505565ecf1648df990dd17f64e7 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 21 Aug 2024 12:44:22 +0100 Subject: [PATCH 03/34] test: update digest retrival command --- .github/actions/pr-chart/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index c76de39c..db66c02b 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,8 +108,8 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}-${{ env.PR_TAG }} - echo "::set-output name=digest::${helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}-${{ env.PR_TAG }}^[dD]igest:\s(?:sha256:\s)?(.+)$}" + helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} + echo "::set-output name=digest::${helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}^[dD]igest:\s(?:sha256:\s)?(.+)$}" - name: build success if: steps.helm.outcome == 'success' From 5b89a575cc8e9b0f3ddbf9e6dde2aa4a42fafdc3 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 21 Aug 2024 12:50:29 +0100 Subject: [PATCH 04/34] test: update digest retrival command --- .github/actions/pr-chart/action.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index db66c02b..4cfb53c3 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,8 +108,9 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} - echo "::set-output name=digest::${helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}^[dD]igest:\s(?:sha256:\s)?(.+)$}" + echo "HELM_SHOW_OUTPUT=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }})" >> $GITHUB_ENV + echo $HELM_SHOW_OUTPUT + echo "::set-output name=digest::${HELM_SHOW_OUTPUT^[dD]igest:\s(?:sha256:\s)?(.+)$}" - name: build success if: steps.helm.outcome == 'success' From ba2c74d14d74f91307b473e3d1df347ff0527f6f Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 21 Aug 2024 12:55:50 +0100 Subject: [PATCH 05/34] test: update digest retrival command to use newer output syntax --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 4cfb53c3..71f2be77 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -110,7 +110,7 @@ runs: run: | echo "HELM_SHOW_OUTPUT=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }})" >> $GITHUB_ENV echo $HELM_SHOW_OUTPUT - echo "::set-output name=digest::${HELM_SHOW_OUTPUT^[dD]igest:\s(?:sha256:\s)?(.+)$}" + echo "digest=${$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }})^[dD]igest:\s(?:sha256:\s)?(.+)$}" >> "$GITHUB_OUTPUT" - name: build success if: steps.helm.outcome == 'success' From 4949ad040ecb15280d0255908f5cf2b79fcf26bd Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 21 Aug 2024 12:58:10 +0100 Subject: [PATCH 06/34] test: update digest retrival command --- .github/actions/pr-chart/action.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 71f2be77..630c719b 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,8 +108,6 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - echo "HELM_SHOW_OUTPUT=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }})" >> $GITHUB_ENV - echo $HELM_SHOW_OUTPUT echo "digest=${$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }})^[dD]igest:\s(?:sha256:\s)?(.+)$}" >> "$GITHUB_OUTPUT" - name: build success From 2277068b456d405e2d1920c85eadb4a0544ea92d Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 27 Aug 2024 14:18:30 +0100 Subject: [PATCH 07/34] test: update digest retrival command --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 630c719b..c2dfb050 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - echo "digest=${$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }})^[dD]igest:\s(?:sha256:\s)?(.+)$}" >> "$GITHUB_OUTPUT" + echo "digest=${helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}^[dD]igest:\s(?:sha256:\s)?(.+)$}" >> "$GITHUB_OUTPUT" - name: build success if: steps.helm.outcome == 'success' From 98329bd745613dbff20caddf244dafd39a25c337 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 27 Aug 2024 14:21:15 +0100 Subject: [PATCH 08/34] test: update digest retrival command --- .github/actions/pr-chart/action.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index c2dfb050..51256ed5 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,9 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - echo "digest=${helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }}^[dD]igest:\s(?:sha256:\s)?(.+)$}" >> "$GITHUB_OUTPUT" + digest=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} | grep -i '^digest:\s' | sed -E 's/^[dD]igest:\s(sha256:\s)?//') + echo "digest=${digest}" >> "$GITHUB_OUTPUT" + - name: build success if: steps.helm.outcome == 'success' From 86f4c82133dee9247653eb5ad51830826c71e4b7 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 27 Aug 2024 14:26:45 +0100 Subject: [PATCH 09/34] test: update digest retrival command to use yq --- .github/actions/pr-chart/action.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 51256ed5..3ab0f0c2 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,10 +108,11 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - digest=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} | grep -i '^digest:\s' | sed -E 's/^[dD]igest:\s(sha256:\s)?//') + digest=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} | yq eval -j | jq -r '.digest') echo "digest=${digest}" >> "$GITHUB_OUTPUT" + - name: build success if: steps.helm.outcome == 'success' shell: bash From 3bb69fa3e1e3b01df9756f4e4ffe2c9164d4cbc6 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 27 Aug 2024 14:30:47 +0100 Subject: [PATCH 10/34] test: update digest retrival command to use yq --- .github/actions/pr-chart/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 3ab0f0c2..783e5b5f 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - digest=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} | yq eval -j | jq -r '.digest') + digest=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} | yq eval -o=json | jq -r '.digest') echo "digest=${digest}" >> "$GITHUB_OUTPUT" @@ -117,7 +117,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - echo "${steps.digest.outputs.digest}" + echo "${{steps.digest.outputs.digest}}" echo "${SUMMARY}" >> "$GITHUB_STEP_SUMMARY" env: SUMMARY: | From f7dcf1e1d52bd038b3501fa052ada241103154de Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 27 Aug 2024 14:34:18 +0100 Subject: [PATCH 11/34] test: update digest retrival command to use yq --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 783e5b5f..fab7153f 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -109,7 +109,7 @@ runs: shell: bash run: | digest=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} | yq eval -o=json | jq -r '.digest') - echo "digest=${digest}" >> "$GITHUB_OUTPUT" + echo "digest=${{digest}}" >> "$GITHUB_OUTPUT" From 48809a1aabec236b6abd6945afb0fbabe2d8d5c9 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 27 Aug 2024 14:45:56 +0100 Subject: [PATCH 12/34] test: update digest retrival command to use curl --- .github/actions/pr-chart/action.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index fab7153f..7ea78f4a 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,8 +108,11 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - digest=$(helm show chart oci://${{ env.CHART_PROJECT }}/${{ inputs.registry-repo }} | yq eval -o=json | jq -r '.digest') - echo "digest=${{digest}}" >> "$GITHUB_OUTPUT" + digest=$(curl -s \ + -H "Accept: application/vnd.oci.image.manifest.v1+json" \ + https://${{ env.CHART_PROJECT }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') + + echo "digest=${digest}" >> "$GITHUB_OUTPUT" From 5e9fa503343f4d16c6eac46a723c7aae15d5403f Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 27 Aug 2024 14:49:46 +0100 Subject: [PATCH 13/34] test: update digest retrival command to use curl --- .github/actions/pr-chart/action.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 7ea78f4a..bac3f62e 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,9 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - digest=$(curl -s \ - -H "Accept: application/vnd.oci.image.manifest.v1+json" \ - https://${{ env.CHART_PROJECT }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') + digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ env.CHART_PROJECT }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') echo "digest=${digest}" >> "$GITHUB_OUTPUT" From ccc355dcd0bb2d10c230667fca62013cc0bf9d43 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 27 Aug 2024 15:32:35 +0100 Subject: [PATCH 14/34] test: update digest retrival command to use curl --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index bac3f62e..c0c0b5fc 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ env.CHART_PROJECT }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') + digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') echo "digest=${digest}" >> "$GITHUB_OUTPUT" From 4364bed1c7d56b16b2d34a9d143436af9755a9fc Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 28 Aug 2024 11:25:21 +0100 Subject: [PATCH 15/34] test: update digest retrival command to use curl --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index c0c0b5fc..c61d3781 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -109,7 +109,7 @@ runs: shell: bash run: | digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') - + echo ${digest} echo "digest=${digest}" >> "$GITHUB_OUTPUT" From 4495f0550de3566527c98c25c4b9d6ad03f082bc Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 28 Aug 2024 11:35:48 +0100 Subject: [PATCH 16/34] test: update digest retrival command to use curl --- .github/actions/pr-chart/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index c61d3781..7c7a25c4 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,6 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | + curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') echo ${digest} echo "digest=${digest}" >> "$GITHUB_OUTPUT" From 124891de9f692e289aad3fb3e1b3d79069eb6eb6 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 28 Aug 2024 11:39:56 +0100 Subject: [PATCH 17/34] test: update digest retrival command to use curl with the chart project --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 7c7a25c4..665cfc38 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} + curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') echo ${digest} echo "digest=${digest}" >> "$GITHUB_OUTPUT" From a10470fcad657ebe5841223ad9feb59cea3c1327 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 28 Aug 2024 11:55:04 +0100 Subject: [PATCH 18/34] test: update digest retrival command to use curl getting token --- .github/actions/pr-chart/action.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 665cfc38..1c57e380 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,9 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} + TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry }}&scope=repository:${{ env.CHART_PROJECT }}:pull" | jq -r .token) + + curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') echo ${digest} echo "digest=${digest}" >> "$GITHUB_OUTPUT" From 0c61da2d2a374df7982e8de7325b50de0c4cf1ff Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 28 Aug 2024 11:56:58 +0100 Subject: [PATCH 19/34] test: update digest retrival command to use curl getting token --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 1c57e380..20987636 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry }}&scope=repository:${{ env.CHART_PROJECT }}:pull" | jq -r .token) + TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry }}&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From c8b8ae027ecfff52b4c8bca649c5e1bbfbf720ee Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 28 Aug 2024 12:21:16 +0100 Subject: [PATCH 20/34] test: update digest retrival command to use curl getting token --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 20987636..69b50069 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry }}&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) + TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry }}&scope=repository:${{ inputs.registry-project }}:pull" | jq -r .token) curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From 11f1caf1994fd62eb8113f0773943cc3fac071d0 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Wed, 28 Aug 2024 12:24:37 +0100 Subject: [PATCH 21/34] test: update digest retrival command to use curl getting token --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 69b50069..16c4598f 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry }}&scope=repository:${{ inputs.registry-project }}:pull" | jq -r .token) + TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry-project }}&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From 301381c1ed23bd41e3a5955da72edf8cf6382086 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Thu, 29 Aug 2024 10:22:36 +0100 Subject: [PATCH 22/34] test: update digest retrival command to use curl --- .github/actions/pr-chart/action.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 16c4598f..b67f4ed6 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,9 +108,8 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry-project }}&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) - curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} + curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') echo ${digest} echo "digest=${digest}" >> "$GITHUB_OUTPUT" From 199e771d6d3d0d7c991ae054d816499d2d4fd949 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Thu, 29 Aug 2024 10:25:25 +0100 Subject: [PATCH 23/34] test: update digest retrival command to use curl --- .github/actions/pr-chart/action.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index b67f4ed6..16c4598f 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,8 +108,9 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | + TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry-project }}&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) - curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} + curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') echo ${digest} echo "digest=${digest}" >> "$GITHUB_OUTPUT" From d319c137c52aac249067b449fffec36ad76f61cd Mon Sep 17 00:00:00 2001 From: rdash99 Date: Thu, 29 Aug 2024 10:31:03 +0100 Subject: [PATCH 24/34] test: update digest retrival command to use curl --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 16c4598f..e211db3a 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=${{ inputs.registry-project }}&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) + TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From a2fc54fc76ee6c98818ccfbef56f0d5b7cf06f6f Mon Sep 17 00:00:00 2001 From: rdash99 Date: Thu, 29 Aug 2024 10:33:10 +0100 Subject: [PATCH 25/34] test: update digest retrival command to use curl update url --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index e211db3a..b87e9dcf 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/v2/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) + TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From b277b1b65ac68202418ac1916417441583a536e3 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Thu, 29 Aug 2024 10:35:29 +0100 Subject: [PATCH 26/34] test: update digest retrival command to use curl update url --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index b87e9dcf..11a1b23a 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - TOKEN=$(curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" | jq -r .token) + curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From 6bb7489a538a5d28802d75bc0b349c60c99ea6ac Mon Sep 17 00:00:00 2001 From: rdash99 Date: Thu, 29 Aug 2024 10:41:06 +0100 Subject: [PATCH 27/34] test: update digest retrival command to use curl update url --- .github/actions/pr-chart/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 11a1b23a..c0137a58 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -110,8 +110,8 @@ runs: run: | curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" - curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} - digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/v2/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') + curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} + digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') echo ${digest} echo "digest=${digest}" >> "$GITHUB_OUTPUT" From 41c0a3ed1980c5bd00f81c6dcb69108376c18ef8 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Fri, 30 Aug 2024 15:03:57 +0100 Subject: [PATCH 28/34] test: update digest retrival command to use curl update url --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index c0137a58..def697ff 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" + curl -s -u "oci://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ inputs.registry-repo }}-${{ env.PR_COMMIT_TAG }}" curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From 50c2b0c603fbfeb03926dd5e7b89947572d78300 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Fri, 30 Aug 2024 15:07:14 +0100 Subject: [PATCH 29/34] test: update digest retrival command to use curl update url --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index def697ff..6154f008 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - curl -s -u "oci://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ inputs.registry-repo }}-${{ env.PR_COMMIT_TAG }}" + curl -v -X GET -sS "oci://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ inputs.registry-repo }}-${{ env.PR_COMMIT_TAG }}" curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From 43e0cb9f2899b79c20081e0b3ea7a3f14ab88e01 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Mon, 2 Sep 2024 09:37:28 +0100 Subject: [PATCH 30/34] Revert "test: update digest retrival command to use curl update url" This reverts commit 50c2b0c603fbfeb03926dd5e7b89947572d78300. --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 6154f008..def697ff 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - curl -v -X GET -sS "oci://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ inputs.registry-repo }}-${{ env.PR_COMMIT_TAG }}" + curl -s -u "oci://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ inputs.registry-repo }}-${{ env.PR_COMMIT_TAG }}" curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From 03ef4f336e62187377bea37a2ed0c42c3b73c6b3 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Mon, 2 Sep 2024 09:37:34 +0100 Subject: [PATCH 31/34] Revert "test: update digest retrival command to use curl update url" This reverts commit 41c0a3ed1980c5bd00f81c6dcb69108376c18ef8. --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index def697ff..c0137a58 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - curl -s -u "oci://${{ inputs.registry }}/v2/${{ env.CHART_PROJECT }}/manifests/${{ inputs.registry-repo }}-${{ env.PR_COMMIT_TAG }}" + curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} digest=$(curl -s -H "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ inputs.registry-repo }}/manifests/${{ env.PR_TAG }} | jq -r '.config.digest') From 34224c0187af4fe0f997b873abbde5491293dcd5 Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 3 Sep 2024 13:55:16 +0100 Subject: [PATCH 32/34] test: update digest retrival command go back to helm --- .github/actions/pr-chart/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index c0137a58..8863f056 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,6 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | + helm show oci://${{ env.CHART_PROJECT }} curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} From fd084d3fc64ccd21857fda68873115c721faa3fa Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 3 Sep 2024 13:58:47 +0100 Subject: [PATCH 33/34] test: update digest retrival command go back to helm --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 8863f056..6205fdca 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - helm show oci://${{ env.CHART_PROJECT }} + helm show chart oci://${{ env.CHART_PROJECT }} curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }} From 1ab0ce7dfe2f5cff7e3c935ea792741ec1d194ce Mon Sep 17 00:00:00 2001 From: rdash99 Date: Tue, 3 Sep 2024 14:04:16 +0100 Subject: [PATCH 34/34] test: update digest retrival command go back to helm --- .github/actions/pr-chart/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pr-chart/action.yaml b/.github/actions/pr-chart/action.yaml index 6205fdca..2931dde8 100644 --- a/.github/actions/pr-chart/action.yaml +++ b/.github/actions/pr-chart/action.yaml @@ -108,7 +108,7 @@ runs: if: steps.helm.outcome == 'success' shell: bash run: | - helm show chart oci://${{ env.CHART_PROJECT }} + helm show chart ${{ inputs.registry-repo }}-${{ env.PR_COMMIT_TAG }} curl -s -u ${{ inputs.registry-user }}:${{ inputs.registry-token }} "https://${{ inputs.registry }}/service/token?service=service=harbor-registry&scope=repository:${{ inputs.registry-repo }}:pull" curl -s -H "Authorization: Bearer $TOKEN" "Accept: application/vnd.oci.image.manifest.v1+json" https://${{ inputs.registry }}/${{ env.CHART_PROJECT }}/manifests/${{ env.PR_TAG }}