From c121b6b52b8b1f9444e9c6e3ac524bfaf0602c65 Mon Sep 17 00:00:00 2001 From: Lajos Szoke <63732287+laliconfigcat@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:48:04 +0200 Subject: [PATCH] Additional argument for docker build to be able to skip cache (#479) * skip cache * cache * additional arguments --- azure-pipelines.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 4a63f63fa..a9ea6f5cd 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -5,6 +5,7 @@ pr: none pool: name: Contabo + steps: - task: Docker@2 @@ -15,7 +16,7 @@ steps: command: build Dockerfile: Dockerfile buildContext: '$(System.DefaultWorkingDirectory)' - arguments: '--build-arg SONAR_TOKEN=$(sonar_token) --network=host' + arguments: '--build-arg SONAR_TOKEN=$(sonar_token) --network=host $(additional_arguments)' - task: Docker@2 displayName: push