File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -260,10 +260,9 @@ jobs:
260
260
run : |
261
261
containerLabel=${{ steps.get-docker-image-tag.outputs.dockerImageBaseUrl }}:${{ steps.get-docker-image-tag.outputs.simulatorVersion }}
262
262
docker pull $containerLabel
263
- imageId=docker image ls | grep ${{ steps.get-docker-image-tag.outputs.dockerImageBaseUrl }} \
264
- grep ${{ steps.get-docker-image-tag.outputs.simulatorVersion }} | awk '{ print $3; ]'
263
+ imageId=$(docker image ls | grep ${{ steps.get-docker-image-tag.outputs.dockerImageBaseUrl }} grep ${{ steps.get-docker-image-tag.outputs.simulatorVersion }} | awk '{ print $3; }')
265
264
266
- dockerDigest=docker inspect --format='{{index .RepoDigests 0}}' $imageId | cut -d '@' -f 2
265
+ dockerDigest=$( docker inspect --format='{{index .RepoDigests 0}}' $imageId | cut -d '@' -f 2)
267
266
268
267
sed -i -E "s/__CONTAINER_DIGEST__/${dockerDigest}/g" biosimulators.json
269
268
You can’t perform that action at this time.
0 commit comments