Skip to content

Commit 7056b6b

Browse files
committed
Update docker.yml
1 parent 1753a0a commit 7056b6b

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/docker.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- name: Checkout code
17-
uses: actions/checkout@v4
16+
- name: Checkout code
17+
uses: actions/checkout@v4
1818

19-
- name: Set up Docker Buildx
20-
uses: docker/setup-buildx-action@v3
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v3
2121

22-
- name: Build Docker image
23-
run: docker build -t vulnerablelightapp .
22+
- name: Build Docker image
23+
run: docker build -t vulnerablelightapp .
2424

25-
- name: Run Docker container
26-
run: docker run -d -p 3000:3000 vulnerablelightapp
25+
- name: Run Docker container
26+
run: docker run -d -p 3000:3000 vulnerablelightapp
2727

28-
- name: Wait for the container to be ready
29-
run: sleep 30
28+
- name: Wait for the container to be ready
29+
run: sleep 30
3030

31-
- name: Test the application
32-
run: curl -k https://127.0.0.1:3000
31+
- name: Test the application
32+
run: curl -k curl -k https://127.0.0.1:3000/swagger/

0 commit comments

Comments
 (0)