Skip to content
Snippets Groups Projects
Commit 6e52c620 authored by Lorenzo Del Pianta's avatar Lorenzo Del Pianta :robot:
Browse files

Update .gitlab-ci.yml file

parent cf209ef8
No related branches found
No related tags found
1 merge request!273Changing builder image in ci pipeline
Pipeline #10134843 canceled
...@@ -12,7 +12,7 @@ stages: ...@@ -12,7 +12,7 @@ stages:
entrypoint: [""] entrypoint: [""]
script: script:
# define script variables, they are passed in build time # define script variables, they are passed in build time
- IMAGE_DESTINATION = ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${TAG} - IMAGE_DESTINATION=${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${TAG}
# Prepare Kaniko configuration file # Prepare Kaniko configuration file
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
# Build and push the image from the Dockerfile at the root of the project. # Build and push the image from the Dockerfile at the root of the project.
......
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