Skip to content

Commit

Permalink
Fix versioned_image_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Sep 6, 2019
1 parent 8d82312 commit 9508672
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 9508672

Please sign in to comment.