ci: desktop_image in die Lab-Registry (OVERMIND-01, CI_JOB_TOKEN statt rohana-Secret)
This commit is contained in:
+3
-2
@@ -107,9 +107,10 @@ desktop_image:
|
|||||||
when: manual
|
when: manual
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
variables:
|
variables:
|
||||||
IMAGE: rohana.axion1337.de/sorb/element-desktop-build
|
# Lab-Registry statt rohana (OVERMIND-01): Konsument ist nur die Lab-CI selbst
|
||||||
|
IMAGE: $CI_REGISTRY_IMAGE/desktop-build
|
||||||
script:
|
script:
|
||||||
- echo "$REGISTRY_PASSWORD" | docker login rohana.axion1337.de -u "$REGISTRY_USER" --password-stdin
|
- echo "$CI_JOB_TOKEN" | docker login "$CI_REGISTRY" -u gitlab-ci-token --password-stdin
|
||||||
- docker build -f apps/desktop/dockerbuild/Dockerfile -t "$IMAGE:bullseye" apps/desktop
|
- docker build -f apps/desktop/dockerbuild/Dockerfile -t "$IMAGE:bullseye" apps/desktop
|
||||||
- docker push "$IMAGE:bullseye"
|
- docker push "$IMAGE:bullseye"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user