Skip to content

Commit

Permalink
test: update digest retrival command to use curl update url
Browse files Browse the repository at this point in the history
  • Loading branch information
rdash99 committed Aug 30, 2024
1 parent 6bb7489 commit 41c0a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/pr-chart/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 41c0a3e

Please sign in to comment.