Skip to content

Commit

Permalink
ci: use localhost instead of 127.0.0.1 in Docker build job
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Oct 27, 2024
1 parent fe67d27 commit 4c501ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
done
netstat -tulpen
docker logs "$CONTAINER_ID"
curl -X POST -H 'X-Image-Format: svg' -i 'http://127.0.0.1:3000/' --data '{"title": {"text": "ECharts entry example"}, "tooltip": {}, "legend": {"data": ["Sales"]}, "backgroundColor": "#ffffff", "xAxis": {"data": ["shirt","cardigan","chiffon shirt","pants","heels","socks"]}, "yAxis": {}, "series": [{"name": "Sales","type": "bar", "data": [5,20,36,10,10,20] }]}'
curl -X POST -H 'X-Image-Format: svg' -i 'http://localhost:3000/' --data '{"title": {"text": "ECharts entry example"}, "tooltip": {}, "legend": {"data": ["Sales"]}, "backgroundColor": "#ffffff", "xAxis": {"data": ["shirt","cardigan","chiffon shirt","pants","heels","socks"]}, "yAxis": {}, "series": [{"name": "Sales","type": "bar", "data": [5,20,36,10,10,20] }]}'
echo -e "\nStopping container ..."
docker stop -t 1 "$CONTAINER_ID"
- name: Push Docker image (versioned tag) to registry
Expand Down

0 comments on commit 4c501ca

Please sign in to comment.