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

Update file .gitlab-ci.yml

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