Skip to content
Snippets Groups Projects
Commit 3df42dae authored by Ahmed Osman's avatar Ahmed Osman
Browse files

Update file .gitlab-ci.yml

parent 155f96a8
No related branches found
No related tags found
No related merge requests found
Pipeline #264042 failed
...@@ -3,6 +3,9 @@ stages: ...@@ -3,6 +3,9 @@ stages:
- triage - triage
- run - run
variables:
REGISTRY_IMAGE: "registry.git.rwth-aachen.de/acplt/basys4forestry"
build: build:
image: debian:stable image: debian:stable
stage: build stage: build
...@@ -23,7 +26,7 @@ build-image:build: ...@@ -23,7 +26,7 @@ build-image:build:
entrypoint: [""] entrypoint: [""]
script: script:
- 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
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $REGISTRY_IMAGE:latest
only: only:
- master - master
- docker-dzwald - docker-dzwald
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment