Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
chaudharysaket committed Jun 26, 2024
1 parent 96b04c8 commit 97f70df
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions libBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,15 @@ function publish_docker_hub {
file_without_dist=$layer_archive
echo "File does not start with 'dist/': $file_without_dist"
fi
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} .

echo "docker build -t $language_flag:${version_flag} \
--build-arg layer_zip=${layer_archive} \
--build-arg file_without_dist=${file_without_dist} \
."
docker build -t $language_flag:${version_flag} \
--build-arg layer_zip=${layer_archive} \
--build-arg file_without_dist=${file_without_dist} \
.
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 97f70df

Please sign in to comment.