Skip to content

Commit

Permalink
Merge pull request #11 from nansen-ai/add_dockerfile_param_to_build_p…
Browse files Browse the repository at this point in the history
…ublish

Add parameter DOCKER_FILE to build-publish-image-gcr.yml
  • Loading branch information
medvedev1088 authored Jul 27, 2023
2 parents bfe0f9a + 0461ead commit 8a1e304
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 8a1e304

Please sign in to comment.