diff --git a/.github/workflows/reusable_dockerfile_pipeline.yml b/.github/workflows/reusable_dockerfile_pipeline.yml index f4efe47..ffa9858 100644 --- a/.github/workflows/reusable_dockerfile_pipeline.yml +++ b/.github/workflows/reusable_dockerfile_pipeline.yml @@ -52,21 +52,6 @@ jobs: echo "short_sha=`echo ${GITHUB_SHA} | cut -c1-8`" >> "$GITHUB_OUTPUT" # yamllint disable - echo "IMAGE_NAME=$REPO_NAME" >> $GITHUB_ENV - echo "image_name=$REPO_NAME" >> "$GITHUB_OUTPUT" - - # here we validate if we have specified a different package name in - # the inputs, if so, we change the package to it. - if [[ ${{ inputs.packageName }} != ${{ github.repository}} ]];then - # validate the input package name characters - if [[ ! "${{ inputs.packageName }}" =~ ^[A-Za-z0-9\-]+$ ]]; then - echo "------------------------------------------------------------" - echo "ERROR: Package name not valid! => [ ${{ inputs.packageName }} ]" - echo "ONLY can use: A-Za-z0-9\-" - echo "------------------------------------------------------------" - exit 1 - fi - # Set the default package name to the repository name PACKAGE_NAME=$REPO_NAME