From 98f22b1ac46cf3b909f31fe43cfcc0a2ea70cc14 Mon Sep 17 00:00:00 2001 From: fredbcode Date: Mon, 20 Dec 2021 14:52:53 +0100 Subject: [PATCH] Add security sast --- docker-compose/docker-compose.yml | 3 ++- gitlabci/docker-hub.yml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 416a796..6401299 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -17,6 +17,7 @@ services: options: max-size: "100m" max-file: "3" + restart: unless-stopped volumes: - cache:/var/spool/squid labels: @@ -32,6 +33,7 @@ services: - TZ=Europe/Paris healthcheck: disable: true + restart: unless-stopped volumes: - ./e2guardian/:/etc/e2guardian:ro labels: @@ -45,7 +47,6 @@ services: image: funkyfuture/deck-chores:1.1.3 environment: - TZ=Europe/Paris - restart: always volumes: - "/var/run/docker.sock:/var/run/docker.sock:ro" restart: unless-stopped diff --git a/gitlabci/docker-hub.yml b/gitlabci/docker-hub.yml index c543c36..b810891 100644 --- a/gitlabci/docker-hub.yml +++ b/gitlabci/docker-hub.yml @@ -33,6 +33,11 @@ docker-hub-build: alias: squid image: $CONTAINER_CLIENT_IMAGE +sast: + stage: quality +include: +- template: Security/SAST.gitlab-ci.yml + docker-hub-test: stage: Docker-hub-test extends: .services-amd64