From 41d5da410a9a64ac9185e60af4f30eacc73813d9 Mon Sep 17 00:00:00 2001 From: Justin Kromlinger Date: Mon, 2 Nov 2020 22:29:45 +0100 Subject: [PATCH] Drop depth=1 to fix "shallow update not allowed" --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99d870e..31dcaac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -264,7 +264,7 @@ publish: - cd official-images - git init - 'git remote add origin "https://x-access-token:${GITHUB_TOKEN}@github.com/archlinux/official-images.git"' - - git fetch --depth=1 https://github.com/docker-library/official-images.git + - git fetch https://github.com/docker-library/official-images.git - git reset --hard FETCH_HEAD - head="release/${BUILD_VERSION}" - git checkout -b "$head"