fix ci again

This commit is contained in:
Maple 2025-10-16 14:41:13 +02:00
commit 61fe99596d

View file

@ -7,8 +7,9 @@ variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
IMAGE_TAG: "${CI_COMMIT_REF_SLUG}" IMAGE_TAG: "${CI_COMMIT_REF_SLUG}"
stages: stages:
- build-image - test
- push - build-and-push-image
- push-retagged-latest
test: test:
image: rust:alpine3.22 image: rust:alpine3.22
@ -20,7 +21,7 @@ before_script:
- git submodule update --init - git submodule update --init
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build-image: build-and-push-image:
stage: build-image stage: build-image
script: script:
- docker build -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" . - docker build -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" .