Skip to content
Snippets Groups Projects
Commit 0024e430 authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

New ci/cd

parent d13a48f6
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ build-frontend-docker: ...@@ -75,7 +75,7 @@ build-frontend-docker:
script: script:
- cd dmnverifierfrontend - cd dmnverifierfrontend
- echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY - echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
- docker pull $CI_REGISTRY_IMAGE:latest || true - docker pull $CI_REGISTRY_IMAGE/dmnverifier/frontend:latest || true
- > - >
docker build docker build
-f src/main/docker/Dockerfile.jvm -f src/main/docker/Dockerfile.jvm
...@@ -83,15 +83,15 @@ build-frontend-docker: ...@@ -83,15 +83,15 @@ build-frontend-docker:
--build-arg http_proxy=$http_proxy --build-arg http_proxy=$http_proxy
--build-arg https_proxy=$https_proxy --build-arg https_proxy=$https_proxy
--build-arg no_proxy=$no_proxy --build-arg no_proxy=$no_proxy
--cache-from $CI_REGISTRY_IMAGE:latest --cache-from $CI_REGISTRY_IMAGE/dmnverifier/frontend:latest
--label "de.uni-koblenz.process-science.image.title=$CI_PROJECT_TITLE" --label "de.uni-koblenz.process-science.image.title=$CI_PROJECT_TITLE"
--label "de.uni-koblenz.process-science.image.url=$CI_PROJECT_URL" --label "de.uni-koblenz.process-science.image.url=$CI_PROJECT_URL"
--label "de.uni-koblenz.process-science.image.created=$CI_JOB_STARTED_AT" --label "de.uni-koblenz.process-science.image.created=$CI_JOB_STARTED_AT"
--label "de.uni-koblenz.process-science.image.revision=$CI_COMMIT_SHA" --label "de.uni-koblenz.process-science.image.revision=$CI_COMMIT_SHA"
--label "de.uni-koblenz.process-science.image.version=$CI_COMMIT_REF_NAME" --label "de.uni-koblenz.process-science.image.version=$CI_COMMIT_REF_NAME"
--tag dmnverifier/frontend:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE/dmnverifier/frontend:$CI_COMMIT_SHA
. .
- docker push dmnverifier/frontend:$CI_COMMIT_SHA - docker push $CI_REGISTRY_IMAGE/dmnverifier/frontend:$CI_COMMIT_SHA
push-image-latest: push-image-latest:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment