Skip to content

Commit

Permalink
Fix docker context path
Browse files Browse the repository at this point in the history
  • Loading branch information
alik-agaev committed Nov 13, 2024
1 parent 09a749b commit 2f117e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ${{ inputs.docker-context-path || format('{0}/Dockerfile', inputs.service-name) }}
context: ${{ inputs.docker-context-path || format('{0}/', inputs.service-name) }}
file: ${{ inputs.dockerfile-path || format('{0}/Dockerfile', inputs.service-name) }}
build-contexts: |
proto=proto
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/multichain-search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ jobs:
uses: ./.github/workflows/_docker-build-push.yml
with:
service-name: multichain-search
secrets:
docker-context-path: "multichain-search/backend"
dockerfile-path: "multichain-search/backend/Dockerfile"
secrets:
ARM_RUNNER_HOSTNAME: ${{ secrets.ARM_RUNNER_HOSTNAME }}
ARM_RUNNER_KEY: ${{ secrets.ARM_RUNNER_KEY }}

0 comments on commit 2f117e5

Please sign in to comment.