Skip to content

Commit

Permalink
fix: build context
Browse files Browse the repository at this point in the history
  • Loading branch information
tymees committed Oct 30, 2024
1 parent 9743910 commit dd523de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
env:
IMAGE_NAME: humitifier
DOCKERFILE_PATH: ./agent/Dockerfile
PATH: ./agent

jobs:
build-and-push:
Expand All @@ -27,7 +28,7 @@ jobs:
- name: Build and push main image
uses: docker/build-push-action@v6
with:
context: .
context: ${{ env.PATH }}
file: ${{ env.DOCKERFILE_PATH }}
push: true
tags: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
env:
IMAGE_NAME: humitifier-server
DOCKERFILE_PATH: ./humitifier-server/Dockerfile
PATH: ./humitifier-server

jobs:
build-and-push:
Expand All @@ -27,7 +28,7 @@ jobs:
- name: Build and push main image
uses: docker/build-push-action@v4
with:
context: .
context: ${{ env.PATH }}
file: ${{ env.DOCKERFILE_PATH }}
push: true
tags: |
Expand Down

0 comments on commit dd523de

Please sign in to comment.