Skip to content
Snippets Groups Projects
Commit 2a6dab97 authored by Philippe Lafoucrière --'s avatar Philippe Lafoucrière -- :speech_balloon: Committed by James Lopez
Browse files

Fix Container Scanning job with K8S runners

parent 1af9a690
No related branches found
No related tags found
No related merge requests found
---
title: Fix Container Scanning job timeout when using the kubernetes executor
merge_request: 29706
author:
type: fixed
Loading
Loading
@@ -30,7 +30,7 @@ container_scanning:
services:
- docker:stable-dind
script:
- if [ -z "$DOCKER_HOST" -a "$KUBERNETES_PORT" ]; then { export DOCKER_SERVICE="localhost" ; export DOCKER_HOST="tcp://${DOCKER_SERVICE}:2375" ; } fi
- if [[ -n "$KUBERNETES_PORT" ]]; then { export DOCKER_SERVICE="localhost" ; export DOCKER_HOST="tcp://${DOCKER_SERVICE}:2375" ; } fi
- |
if [[ -n "$CI_REGISTRY_USER" ]]; then
echo "Logging to GitLab Container Registry with CI credentials..."
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment