diff --git a/src/providers/onpremises/clients/kaniko.py b/src/providers/onpremises/clients/kaniko.py index 9d047651..9a030834 100644 --- a/src/providers/onpremises/clients/kaniko.py +++ b/src/providers/onpremises/clients/kaniko.py @@ -107,10 +107,8 @@ def _create_kaniko_job_definition(self): 'name': 'build', 'image': 'gcr.io/kaniko-project/executor:latest', 'args': [ - '-c', - '/workspace/', - '-d', - self.registry_image_id, + '--context=dir:///workspace', + f'--destination={self.registry_image_id}', '--skip-tls-verify', '--skip-tls-verify-pull' ],