Skip to content

Commit

Permalink
resolve dotnet ecr image issue (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaudharysaket authored Sep 11, 2024
1 parent 59058aa commit d0ad949
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ function publish_docker_ecr {
version_flag=$EXTENSION_VERSION
language_flag="lambdaextension"
fi

if [[ ${runtime_name} =~ 'dotnet' ]]; then
version_flag=""
arch_flag=${arch}
fi

# Remove 'dist/' prefix
if [[ $layer_archive == dist/* ]]; then
Expand Down

0 comments on commit d0ad949

Please sign in to comment.