Skip to content

Commit e628e50

Browse files
committed
Dockerfileにテスト用のwgetコマンドを追加し、外部リソースへの接続を確認するステップを追加。
1 parent 3db083b commit e628e50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/example-restrict.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
FROM node:24-alpine
2929
WORKDIR /app
3030
RUN npm init -y && npm install express
31+
RUN wget -q -O /dev/null --timeout=5 https://example.com/ || true
3132
EOF
3233
3334
- name: Build test image

0 commit comments

Comments
 (0)