Skip to content

Commit 4689dae

Browse files
committed
change envvar name
1 parent 880e6e0 commit 4689dae

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ inputs:
4545
required: true
4646
default: "${{ github.action_path }}/dockerfile"
4747

48-
docker_context:
49-
description: "The context for building the image."
48+
docker_build_path:
49+
description: "The path to build the image from."
5050
required: true
5151
default: "."
5252

@@ -91,7 +91,7 @@ runs:
9191
BUILDX_NAME: ${{ steps.buildx.outputs.name }}
9292
BUILDX_ENDPOINT: ${{ steps.buildx.outputs.endpoint }}
9393
DOCKERFILE_LOCATION: ${{ inputs.dockerfile }}
94-
DOCKER_CONTEXT: ${{ inputs.docker_context }}
94+
DOCKER_BUILD_PATH: ${{ inputs.docker_build_path }}
9595
PYTHON_VERSION: ${{ inputs.python_version }}
9696
TARGET_BASE: ${{ inputs.target_base }}
9797
PACKAGE_LIST: ${{ inputs.package_list }}

scripts/build_and_push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ echo docker buildx build \
7474
--build-arg maintainer=$MAINTAINER \
7575
-f ${DOCKERFILE_LOCATION:-./dockerfile} \
7676
--push \
77-
${DOCKER_CONTEXT:-.}
77+
${DOCKER_BUILD_PATH:-.}
7878

7979

8080
docker buildx build \
@@ -88,4 +88,4 @@ docker buildx build \
8888
--build-arg maintainer=$MAINTAINER \
8989
-f ${DOCKERFILE_LOCATION:-./dockerfile} \
9090
--push \
91-
${DOCKER_CONTEXT:-.}
91+
${DOCKER_BUILD_PATH:-.}

0 commit comments

Comments
 (0)