Skip to content

Commit

Permalink
docker nit
Browse files Browse the repository at this point in the history
  • Loading branch information
chaudharysaket committed Jun 26, 2024
1 parent 41b9745 commit 96b04c8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions libBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ function publish_docker_hub {
file_without_dist=$layer_archive
echo "File does not start with 'dist/': $file_without_dist"
fi
docker build -t $language_flag:${version_flag[$index]} --build-arg docker_arn=${arns[$index]} .
docker tag $language_flag:${version_flag[$index]} newrelic/newrelic-lambda-layers:$language_flag-${version_flag[$index]}
docker push newrelic/newrelic-lambda-layers:$language_flag-${version_flag[$index]}
echo "docker build -t $language_flag:${version_flag} --build-arg docker_arn=${arns} ."
docker build -t $language_flag:${version_flag} --build-arg docker_arn=${arns} .
docker tag $language_flag:${version_flag} newrelic/newrelic-lambda-layers:$language_flag-${version_flag}
docker push newrelic/newrelic-lambda-layers:$language_flag-${version_flag}
}

0 comments on commit 96b04c8

Please sign in to comment.