Skip to content

Commit c351354

Browse files
authored
Update CD Docker.yml
1 parent c7b989c commit c351354

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/CD Docker.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
default: .
77
required: false
88
type: string
9+
file:
10+
description: Docker context
11+
default: ./Dockerfile
12+
required: false
13+
type: string
914
tags:
1015
description: Docker Image tags
1116
required: false
@@ -47,6 +52,7 @@ jobs:
4752
- name: Build and push
4853
uses: docker/build-push-action@v4
4954
with:
55+
file: ${{ inputs.file }}
5056
context: ${{ inputs.context }}
5157
build-args: |
5258
"GH_NPM_TOKEN=${{ secrets.GH_NPM_TOKEN }}"

0 commit comments

Comments
 (0)