Minor CI optimization (don't fetch git repo in docker publishing job

where we don't use it)

(and cargo decided to update cfg-if version in random dependency)
This commit is contained in:
Imbris 2023-06-13 01:01:26 -04:00
parent 1605fdb610
commit f0a324e729

View File

@ -9,6 +9,8 @@
docker:
extends: .publish
variables:
GIT_STRATEGY: none
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
@ -33,6 +35,7 @@ gittag:
extends: .publish
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule"
# TODO: could use lighter image, since we don't need the cache or rust toolchain here
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG}
dependencies: []
tags: ["veloren/veloren", "publish", "trusted"]