Run application container with read-only filesystem
CI / smoke-test (push) Successful in 53s

This commit is contained in:
Mikhail Lobanov
2026-10-14 21:19:17 +03:00
parent a82f244040
commit e79f41d2b9
+3
View File
@@ -71,6 +71,7 @@ jobs:
if docker run -d \
--name devops-platform \
--restart unless-stopped \
--read-only \
-p 127.0.0.1:8000:8000 \
"$IMAGE"; then
echo "New container started"
@@ -79,6 +80,7 @@ jobs:
docker run -d \
--name devops-platform \
--restart unless-stopped \
--read-only \
-p 127.0.0.1:8000:8000 \
"$OLD_IMAGE"
exit 1
@@ -104,6 +106,7 @@ jobs:
docker run -d \
--name devops-platform \
--restart unless-stopped \
--read-only \
-p 127.0.0.1:8000:8000 \
"$OLD_IMAGE"
exit 1