Drop depth=1 to fix "shallow update not allowed"

This commit is contained in:
Justin Kromlinger 2020-11-02 22:29:45 +01:00
parent ac398b334a
commit 41d5da410a
No known key found for this signature in database
GPG Key ID: 69EF6D9E49A64EB8

View File

@ -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"