From a929ca279b6cc212eb6d21d32a29d077f61fb27f Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Mon, 15 Jul 2024 10:37:41 +0200 Subject: [PATCH] Use specific names for images. --- docker-compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 2265d728..a2df4ec5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,6 +5,7 @@ services: container_name: codingstyle-jenkins build: context: docker/images/jenkins-controller + image: codingstyle/jenkins-controller volumes: - ./docker/volumes/jenkins-home:/var/jenkins_home # Mounts the local jenkins_home volume to the /var/jenkins_home path inside the container - agent-ssh-dir:/ssh-dir # Mounts the shared volume agent-ssh-dir to a path inside the container @@ -29,6 +30,7 @@ services: container_name: codingstyle-key-generator build: context: docker/images/key-generator + image: codingstyle/key-generator stdin_open: true tty: true # The entrypoint script generates the SSH keys and outputs them to the /ssh-dir directory. @@ -46,6 +48,7 @@ services: java-agent: container_name: codingstyle-java-agent build: docker/images/java-agent + image: codingstyle/java-agent depends_on: key-generator: condition: service_completed_successfully # Depends on the successful completion of the sidekick_service