Skip to content

Commit

Permalink
Ignore tag in custom cache image name
Browse files Browse the repository at this point in the history
  • Loading branch information
whoan committed Oct 26, 2023
1 parent d534b16 commit a237ace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ init_variables() {
: "${INPUT_CONTEXT:=.}"
: "${INPUT_DOCKERFILE:=Dockerfile}"
: "${GITHUB_OUTPUT:=/dev/stdout}"
# ! ignore any tag in the custom cache image name
INPUT_STAGES_IMAGE_NAME=${INPUT_STAGES_IMAGE_NAME%:*}

if _is_aws_ecr; then
if [ -z "$INPUT_USERNAME" ]; then
Expand Down

0 comments on commit a237ace

Please sign in to comment.