Skip to content

Commit

Permalink
Update image_details.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
FloRul committed Jan 31, 2024
1 parent 5d97df6 commit 60bb1e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lambda_container_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
if [ ! -f image_details.json ]; then
echo '[]' > image_details.json
fi
jq '. += [{"ECR_REGISTRY": "'"$ECR_REGISTRY"'", "ECR_REPOSITORY": "'"$ECR_REPOSITORY"'", "IMAGE_TAG": "'"$IMAGE_TAG"'"}]' image_details.json | sponge image_details.json
jq '. += [{"ECR_REGISTRY": "'"$ECR_REGISTRY"'", "ECR_REPOSITORY": "'"$ECR_REPOSITORY"'", "IMAGE_TAG": "'"$IMAGE_TAG"'"}]' image_details.json > tmp.json && mv tmp.json image_details.json
- name: Upload updated JSON artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 60bb1e4

Please sign in to comment.