Skip to content

Commit

Permalink
Merge pull request #142 from ethpandaops/fix/deploy-grep
Browse files Browse the repository at this point in the history
fix(ci): allow grep to work with bsd and gnu versions
  • Loading branch information
Savid authored Mar 18, 2024
2 parents 007ec0b + f1651b7 commit 9d37704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ runs:
if: inputs.build_script
run: |
cat << EOF
digest: $(docker image inspect --format='{{index .RepoDigests 0}}' ${{ inputs.target_repository }}:${{ inputs.target_tag }} | grep -oP "@\K.*")
digest: $(docker image inspect --format='{{index .RepoDigests 0}}' ${{ inputs.target_repository }}:${{ inputs.target_tag }} | grep -oE "@(.*)" | cut -d'@' -f2-)
tags:
${{ inputs.target_repository }}:${{ inputs.target_tag }}
${{ inputs.target_repository }}:${{ inputs.target_tag }}-${{ steps.git_commit_hash.outputs.git_commit_hash }}
Expand Down

0 comments on commit 9d37704

Please sign in to comment.