Skip to content

Commit 4c640b6

Browse files
committed
fix: disable provenance for docker image builds
1 parent 78b821c commit 4c640b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Executable/DockerExecutable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function build(string $file, string $tag, string $architecture = '', ?str
2828
$platform = 'linux/arm64';
2929
}
3030

31-
$this->run(sprintf('build --pull --file=%s --platform=%s --tag=%s .', $file, $platform, $tag), $cwd, null);
31+
$this->run(sprintf('build --pull --file=%s --platform=%s %s--tag=%s .', $file, $platform, 'docker' === $this->getExecutable() ? '--provenance=false ' : '', $tag), $cwd, null);
3232
}
3333

3434
/**

0 commit comments

Comments
 (0)