Skip to content

Commit

Permalink
rename env to DOCKERFILE_CONTEXT
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis committed Apr 17, 2024
1 parent 9fcce93 commit 86a655b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

env:
REGISTRY: ghcr.io
DOCKER_CONTEXT: packages/client/hmi-client/docker
DOCKERFILE_CONTEXT: packages/client/hmi-client/docker

jobs:
set-tag:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ${{ env.DOCKER_CONTEXT }}
context: ${{ env.DOCKERFILE_CONTEXT }}
platforms: linux/amd64
push: true
tags: ${{ needs.set-tag.outputs.image }}--amd64
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ${{ env.DOCKER_CONTEXT }}
context: ${{ env.DOCKERFILE_CONTEXT }}
platforms: linux/arm64
push: true
tags: ${{ needs.set-tag.outputs.image }}--arm64
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ${{ env.DOCKER_CONTEXT }}
context: ${{ env.DOCKERFILE_CONTEXT }}
platforms: linux/arm64
push: true
tags: ${{ needs.set-tag.outputs.image }}--arm64

0 comments on commit 86a655b

Please sign in to comment.