Some checks failed
Build Docker Image / Build Docker Image (push) Failing after 2m27s
Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
17 lines
503 B
YAML
17 lines
503 B
YAML
name: Build Docker Image
|
|
run-name: Build Docker Image
|
|
on: [push]
|
|
|
|
jobs:
|
|
Build Docker Image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Test pinging host.docker.internal
|
|
run: |
|
|
curl -X POST http://host.docker.internal:3000/run \
|
|
-H "Content-Type: application/json" \
|
|
-H "X-SECRET: ${{ secrets.EXPRESS_SECRET }}" \
|
|
-d '{"command": "echo hello world!"}'
|
|
|