Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"comment": "Modify this file in a trivial way to cause this test suite to run",
"modification": 3
"modification": 4
}
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,18 @@ def _invoke_docker_build_and_push(self, container_image_name):
build.options.machineType = self._cloud_build_machine_type
build.steps = []
step = cloudbuild.BuildStep()
step.name = 'gcr.io/kaniko-project/executor:latest'
# Disable compression caching to allow for large images to be cached.
# See: https://github.com/GoogleContainerTools/kaniko/issues/1669
step.name = 'quay.io/buildah/stable:latest'
step.entrypoint = 'sh'
step.args = [
'--destination=' + container_image_name,
'--cache=true',
'--compressed-caching=false',
'-c',
# The --storage-driver=vfs option is used to run buildah in a
# rootless environment.
(
'buildah bud --storage-driver=vfs -t {0} . && '
'buildah push --storage-driver=vfs {0} docker://{0}'
).format(container_image_name),
]
step.dir = SOURCE_FOLDER

build.steps.append(step)

source = cloudbuild.Source()
Expand Down
Loading