Skip to content

Commit b26d4ca

Browse files
committed
fix
1 parent c5880dd commit b26d4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-run.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- name: Build the Docker image
16-
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
16+
run: sudo docker build . --file Dockerfile --tag my-image-name:$(date +%s)
1717
- name: Run the Docker container on port 8000
18-
run: docker run -d -p 8000:8000 my-image-name:$(date +%s)
18+
run: sudo docker run -d -p 8000:8000 my-image-name:$(date +%s)

0 commit comments

Comments
 (0)