Skip to content

Commit

Permalink
updating nicename
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardTMiles committed Jan 25, 2025
1 parent 0b567b7 commit 1c7ebbc
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/assets/shell/createUpdateImageBuilder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ DISTRIBUTION="$1"
AWS_REGION="$2"
ENVIRONMENT="$3"
REPOSITORY_NICENAME="$4"
IMAGE_BUILDER_SCRIPT_BUILD="$5"
IMAGE_BUILDER_SCRIPT_VALIDATE="$6"
ENCRYPTION_KEY="$7"
SECRET_PAYLOAD_ENCRYPTED="$8"
IMAGE_BUILDER_BASE_IMAGE_AMI="$9"
INFRASTRUCTURE="${10}"
ENCRYPTION_KEY="$5"
SECRET_PAYLOAD_ENCRYPTED="$6"
IMAGE_BUILDER_BASE_IMAGE_AMI="$7"
INFRASTRUCTURE="$8"

# Ensure all required variables are provided
if [[ -z "$DISTRIBUTION" || -z "$AWS_REGION" || -z "$ENVIRONMENT" || -z "$REPOSITORY_NICENAME" ]]; then
Expand Down Expand Up @@ -43,10 +41,6 @@ else
wait_action="stack-update-complete"
fi

# Save scripts to files
echo "$IMAGE_BUILDER_SCRIPT_BUILD" > ./imageBuilderScriptBuild
echo "$IMAGE_BUILDER_SCRIPT_VALIDATE" > ./imageBuilderScriptValidate

if [ -n "$SECRET_PAYLOAD_ENCRYPTED" ]; then
chmod +x ./.github/assets/shell/parseSecrets.sh
source ./.github/assets/shell/parseSecrets.sh \
Expand Down

0 comments on commit 1c7ebbc

Please sign in to comment.