Skip to content

Commit

Permalink
Updates op command for newer versions of op
Browse files Browse the repository at this point in the history
- Uses `op read` instead of `op get`

Signed-off-by: Natalie Arellano <narellano@vmware.com>
  • Loading branch information
natalieparellano committed Aug 10, 2022
1 parent 9d33684 commit bc3c4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merge-rfc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ require_command issues-generation
if [[ -z "${GITHUB_TOKEN:-}" ]]; then
require_command op
echo "> Pulling GitHub token from vault..."
GITHUB_TOKEN=$(op get item 7xorpxvz3je3vozqg3fy3wrcg4 --vault "Shared" --account buildpacks | jq -r '.details.sections[] | select(.fields).fields[] | select(.t == "credential").v')
GITHUB_TOKEN=$(op read op://Shared/7xorpxvz3je3vozqg3fy3wrcg4/credential --account buildpacks)
fi

####
Expand Down

0 comments on commit bc3c4af

Please sign in to comment.