Skip to content

Commit

Permalink
Merge #304
Browse files Browse the repository at this point in the history
304: Fix `versioned_image_name`. r=reitermarkus a=reitermarkus



Co-authored-by: Markus Reiter <me@reitermark.us>
  • Loading branch information
bors[bot] and reitermarkus authored Sep 6, 2019
2 parents 8d82312 + 9508672 commit ac3ee53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/docker_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ set -eux
image_name="rustembedded/cross:${TARGET}"

if [[ "${TAG-}" =~ ^v.* ]] && ! [[ "${TAG}" =~ alpha ]] && ! [[ "${TAG}" =~ dev ]]; then
version="${TAG##v}"
versioned_image_name="${image_name}-${version}"
docker tag "${image_name}" "${versioned_image_name}"
docker push "${versioned_image_name}"
fi

Expand Down

0 comments on commit ac3ee53

Please sign in to comment.