Skip to content
Snippets Groups Projects
Commit e6d8f900 authored by Philipp Rösner's avatar Philipp Rösner
Browse files

Update .gitlab-ci.yml file

parent a34c13b4
No related branches found
No related tags found
No related merge requests found
image: docker:latest
image: docker:24.0.5 # Use the latest version of Docker available
services:
- docker:dind
- name: docker:24.0.5-dind # Use the Docker-in-Docker image
command: ["--tls=false"]
variables:
# Define the Docker image name using the GitLab CI environment variables
IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
# Ensure Docker commands are sent to the Docker-in-Docker service
DOCKER_HOST: tcp://docker:2375/
DOCKER_TLS_CERTDIR: "" # Disable Docker's TLS feature since it's not needed here
before_script:
# Login to the GitLab Container Registry
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
stages:
- build
- deploy
build:
stage: build
......
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