diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index bac7d4a..3f3c38a 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -74,6 +74,8 @@ jobs: --read-only \ --cap-drop=ALL \ --security-opt=no-new-privileges:true \ + --memory=256m \ + --cpus=0.5 \ -p 127.0.0.1:8000:8000 \ "$IMAGE"; then echo "New container started" @@ -85,6 +87,8 @@ jobs: --read-only \ --cap-drop=ALL \ --security-opt=no-new-privileges:true \ + --memory=256m \ + --cpus=0.5 \ -p 127.0.0.1:8000:8000 \ "$OLD_IMAGE" exit 1 @@ -113,6 +117,8 @@ jobs: --read-only \ --cap-drop=ALL \ --security-opt=no-new-privileges:true \ + --memory=256m \ + --cpus=0.5 \ -p 127.0.0.1:8000:8000 \ "$OLD_IMAGE" exit 1