Skip to content

Commit

Permalink
Merge pull request #903 from haoming29/fix-docker-image-name
Browse files Browse the repository at this point in the history
Replace `pelican` with server name for production image
  • Loading branch information
haoming29 authored Mar 8, 2024
2 parents e592662 + a2d5c55 commit 049d4ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-prod-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@ jobs:
echo $GITHUB_TAG
docker_repo="pelican_platform/pelican"
docker_repo="pelican_platform"
image_name=${{ matrix.image }}
tag_list=()
for registry in hub.opensciencegrid.org; do
for image_tag in "$GITHUB_TAG"; do
tag_list+=("$registry/$docker_repo":"$image_tag")
tag_list+=("$registry/$docker_repo/$image_name":"$image_tag")
done
done
# This causes the tag_list array to be comma-separated below,
Expand Down
4 changes: 2 additions & 2 deletions images/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ if [ $# -ne 0 ]; then
pelican)
# Run pelican with the rest of the arguments
echo "Running pelican with arguments: $@"
exec tini /pelican/pelican "$@"
exec tini -- /pelican/pelican "$@"
# we shouldn't get here
echo >&2 "Exec of tini failed!"
exit 1
;;
osdf)
# Run osdf with the rest of the arguments
echo "Running osdf with arguments: $@"
exec tini /pelican/osdf "$@"
exec tini -- /pelican/osdf "$@"
# we shouldn't get here
echo >&2 "Exec of tini failed!"
exit 1
Expand Down

0 comments on commit 049d4ff

Please sign in to comment.