File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ inputs:
4343 dockerfile :
4444 description : " The path to the dockerfile to use while building."
4545 required : true
46- default : " ${{ github.action_path }}/dockerfile "
46+ default : " "
4747
4848 docker_build_path :
4949 description : " The path to build the image from."
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
33
4+ SCRIPT_DIR=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
5+
46if [[ -z $PYTHON_VERSION ]]; then
57 echo " Must set a python version to build."
68 exit 1
3840 BUILD_TARGET=$PYTHON_VERSION
3941fi
4042
43+ if [[ -z $DOCKERFILE_LOCATION ]]; then
44+ DOCKERFILE_LOCATION=$SCRIPT_DIR /../dockerfile
45+ fi
46+
4147
4248# Image Push location
4349REGISTRY=${REGISTRY:- " ghcr.io" }
You can’t perform that action at this time.
0 commit comments