mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 12:42:09 -05:00
fix bug
This commit is contained in:
parent
7ab2ec7c28
commit
eb8dc5cf74
1 changed files with 4 additions and 4 deletions
|
@ -166,7 +166,7 @@ ValidateInput() {
|
|||
##############################
|
||||
# Get the name of the branch #
|
||||
##############################
|
||||
BRANCH_NAME=$(git -C "${GITHUB_WORKSPACE}" branch --contains "${GITHUB_SHA}" | awk '{print ${2}}' 2>&1)
|
||||
BRANCH_NAME=$(git -C "${GITHUB_WORKSPACE}" branch --contains "${GITHUB_SHA}" | awk '{print $2}' 2>&1)
|
||||
|
||||
#######################
|
||||
# Load the error code #
|
||||
|
@ -448,9 +448,9 @@ UploadImage() {
|
|||
################
|
||||
# Get the data #
|
||||
################
|
||||
REPO=$(echo "${GET_INFO_CMD}" | awk '{print ${1}}')
|
||||
TAG=$(echo "${GET_INFO_CMD}" | awk '{print ${2}}')
|
||||
IMAGE_ID=$(echo "${GET_INFO_CMD}" | awk '{print ${3}}')
|
||||
REPO=$(echo "${GET_INFO_CMD}" | awk '{print $1}')
|
||||
TAG=$(echo "${GET_INFO_CMD}" | awk '{print $2}')
|
||||
IMAGE_ID=$(echo "${GET_INFO_CMD}" | awk '{print $3}')
|
||||
SIZE="${GET_INFO_CMD##* }"
|
||||
|
||||
###################
|
||||
|
|
Loading…
Reference in a new issue