extract without mtime information

This commit is contained in:
Saw-jan
2023-03-04 00:26:44 +01:00
committed by Michael Barz
parent ff7118ebfd
commit 65be9a36a4
+2 -4
View File
@@ -420,7 +420,7 @@ def cacheGoBin():
"name": "archive-go-bin",
"image": OC_UBUNTU,
"commands": [
"tar -czvf %s -C /go/bin ." % dirs["gobinTarPath"],
"tar -czvf %s /go/bin" % dirs["gobinTarPath"],
],
"volumes": [stepVolumeGo],
},
@@ -457,9 +457,7 @@ def restoreGoBinCache():
"name": "extract-go-bin-cache",
"image": OC_UBUNTU,
"commands": [
"mkdir -p /go/bin",
"tar -xvf %s -C /go/bin" % dirs["gobinTarPath"],
"chmod +x /go/bin/*",
"tar -xvmf %s -C /" % dirs["gobinTarPath"],
],
"volumes": [stepVolumeGo],
},