Skip to content

Commit 10494e2

Browse files
Update aqua-security.yaml (#83)
1 parent 2eb3035 commit 10494e2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/aqua-security.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
type: string
1414
default: ''
1515
required: false
16+
docker_file_context:
17+
description: Docker File Context
18+
type: string
19+
default: .
20+
required: false
1621
docker_tag_version:
1722
description: Provide the docker tag names
1823
type: string
@@ -130,7 +135,7 @@ jobs:
130135
- name: Docker Build and Push
131136
uses: docker/build-push-action@v2
132137
with:
133-
context: .
138+
context: ${{ inputs.docker_file_context }}
134139
file: ${{ inputs.docker_file }}
135140
tags: ${{ inputs.docker_tag_name }}:${{ inputs.docker_tag_version }}
136141
build-args: |

0 commit comments

Comments
 (0)