Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ runs:
fi
echo "::endgroup::"

echo "::group::Authenticating with apk.cgr.dev as ${{ env.IDENTITY }}"
echo "::group::Authenticating with ${{ inputs.apk-host }} as ${{ env.IDENTITY }}"
if ! chainctl auth login --identity "${{ env.IDENTITY }}" --audience ${{ inputs.apk-host }} -v=${{ env.VERBOSITY }}; then
echo "::error Unable to assume the identity ${{ env.IDENTITY }} for ${{ inputs.apk-host }}."
exit 1
Expand All @@ -146,7 +146,7 @@ runs:

if [ "${{ env.EXPORT_AUTH }}" == "true" ]; then
echo "::group::Exporting HTTP_AUTH environment variable for ${{ inputs.apk-host }}"
echo HTTP_AUTH="basic:apk.cgr.dev:user:$(chainctl auth token --audience ${{ inputs.apk-host }})" >> $GITHUB_ENV
echo HTTP_AUTH="basic:${{ inputs.apk-host }}:user:$(chainctl auth token --audience ${{ inputs.apk-host }})" >> $GITHUB_ENV
echo "::endgroup::"
fi

Expand Down
Loading