Use git.sha to avoid 0000000

This commit is contained in:
Mikhail f. Shiryaev 2022-06-13 17:41:05 +02:00 committed by GitHub
parent 31c084567a
commit 539e423744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ def buildx_args(bucket_prefix: str, arch: str, version: ClickHouseVersion) -> Li
args = [
f"--platform=linux/{arch}",
f"--label=build-url={GITHUB_RUN_URL}",
f"--label=com.clickhouse.ClickHouseVersion.githash={version.githash}",
f"--label=com.clickhouse.ClickHouseVersion.githash={git.sha}",
]
if bucket_prefix:
url = p.join(bucket_prefix, BUCKETS[arch]) # to prevent a double //