Skip to content

Commit

Permalink
fix github ci push of slim image
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Oct 25, 2024
1 parent 13b1ab1 commit c453ad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ for PLATFORM in "${PLATFORMS[@]}"; do
[[ "${_ENABLE_IMAGE_PUSH}" != "true" || "${ENABLE_SINGLEARCH_PUSH}" == "true" ]] && image="${image}-${PLATFORM}"
[[ "${_ENABLE_IMAGE_PUSH}" != "true" || "${ENABLE_SINGLEARCH_PUSH}" == "true" ]] && slim_image="${slim_image}-${PLATFORM}"
if [[ "${_ENABLE_IMAGE_PUSH}" == "true" || "${ENABLE_SINGLEARCH_PUSH}" == "true" ]]; then
[[ "${_ENABLE_IMAGE_PUSH}" != "true" || "${ENABLE_SINGLEARCH_PUSH}" == "true" ]] && docker tag "${slim_image}" "${slim_image//-${PLATFORM}}"
docker push "${slim_image}"
else
cd dist_linux*
Expand Down

0 comments on commit c453ad8

Please sign in to comment.