Skip to content

Commit d453d25

Browse files
authored
Modify Docker build context and file path
Updated Docker build context and Dockerfile path.
1 parent 55b224f commit d453d25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
password: ${{ secrets.GITHUB_TOKEN }}
4040

4141
- name: Build and push Docker image
42-
id: build-and-push
4342
uses: docker/build-push-action@v6
4443
with:
45-
context: docker/${{ env.DOCKER_IMAGE_NAME1 }}
44+
context: .
45+
file: docker/${{ env.DOCKER_IMAGE_NAME1 }}/Dockerfile
4646
push: true
4747
tags: ghcr.io/shimat/opencvsharp/${{ env.DOCKER_IMAGE_NAME1 }}:${{ github.event.inputs.docker_image_tag }}

0 commit comments

Comments
 (0)