Skip to content

Commit

Permalink
Add parameter DOCKER_FILE to build-publish-image-gcr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
medvedev1088 committed Jul 27, 2023
1 parent bfe0f9a commit 0461ead
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-publish-image-gcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
DOCKER_PATH_CONTEXT:
required: true
type: string
DOCKER_FILE:
required: false
type: string
outputs:
version_number:
value: ${{ jobs.build.outputs.version_number }}
Expand Down Expand Up @@ -78,6 +81,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: ${{ inputs.DOCKER_PATH_CONTEXT }}
file: ${{ inputs.DOCKER_FILE }}
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
cache-from: type=gha
Expand Down

0 comments on commit 0461ead

Please sign in to comment.