From c2726d3f4233be9a077d41f17d02ae4d965d9199 Mon Sep 17 00:00:00 2001 From: sphmuthuraman <96412688+sphmuthuraman@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:49:27 +0800 Subject: [PATCH] Update aqua-security.yaml --- .github/workflows/aqua-security.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aqua-security.yaml b/.github/workflows/aqua-security.yaml index 1f6718b..bc45c80 100644 --- a/.github/workflows/aqua-security.yaml +++ b/.github/workflows/aqua-security.yaml @@ -13,6 +13,11 @@ on: type: string default: '' required: false + docker_file_context: + description: Docker File Context + type: string + default: . + required: false docker_tag_version: description: Provide the docker tag names type: string @@ -130,7 +135,7 @@ jobs: - name: Docker Build and Push uses: docker/build-push-action@v2 with: - context: . + context: ${{ inputs.docker_file_context }} file: ${{ inputs.docker_file }} tags: ${{ inputs.docker_tag_name }}:${{ inputs.docker_tag_version }} build-args: |