Skip to content

Commit

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

jobs:
build-and-push:
Expand All @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit f149aaf

Please sign in to comment.