diff --git a/.github/workflows/build-agent.yaml b/.github/workflows/build-agent.yaml index e47bba7..c426bd3 100644 --- a/.github/workflows/build-agent.yaml +++ b/.github/workflows/build-agent.yaml @@ -9,7 +9,7 @@ on: env: IMAGE_NAME: humitifier DOCKERFILE_PATH: ./agent/Dockerfile - PATH: ./agent + CONTEXT_PATH: ./agent jobs: build-and-push: @@ -28,7 +28,7 @@ jobs: - name: Build and push main image uses: docker/build-push-action@v6 with: - context: ${{ env.PATH }} + context: ${{ env.CONTEXT_PATH }} file: ${{ env.DOCKERFILE_PATH }} push: true tags: | diff --git a/.github/workflows/build-server.yaml b/.github/workflows/build-server.yaml index ce193b5..79b8568 100644 --- a/.github/workflows/build-server.yaml +++ b/.github/workflows/build-server.yaml @@ -9,7 +9,7 @@ on: env: IMAGE_NAME: humitifier-server DOCKERFILE_PATH: ./humitifier-server/Dockerfile - PATH: ./humitifier-server + CONTEXT_PATH: ./humitifier-server jobs: build-and-push: @@ -28,7 +28,7 @@ jobs: - name: Build and push main image uses: docker/build-push-action@v4 with: - context: ${{ env.PATH }} + context: ${{ env.CONTEXT_PATH }} file: ${{ env.DOCKERFILE_PATH }} push: true tags: |