Skip to content

Commit

Permalink
chore: image urls issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tenzinsamten committed Jan 12, 2025
1 parent b0a3d6f commit 4deec9e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,14 @@ jobs:
lower_owner=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
docker push ghcr.io/$lower_owner/pecha-frontend:${{ env.IMAGE_TAG }}
- name: Trigger Render Deployment
run: |
lower_owner=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
env:
deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
run: |
image_url=ghcr.io/$lower_owner/pecha-frontend:pecha-frontend:12732320595-945a6f7
encoded_url=$(python -c "import urllib.parse; print(urllib.parse.quote('${image_url}'))")
echo "Encoded URL: $encoded_url"
curl -X GET "${{ secrets.RENDER_DEPLOY_HOOK_URL }}?imgURL=${encoded_url}"
echo "Encoded complete: $deploy_url?imgURL=$$encoded_url"
curl "$deploy_url?imgURL=$$encoded_url"
sonarQube:
if: github.event_name == 'workflow_dispatch'
name: SonarQube Scan
Expand Down

0 comments on commit 4deec9e

Please sign in to comment.