Unverified Commit 55f0bdc0 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Fix docker tag during upload as well (#46252)

In https://github.com/flutter/flutter/pull/46035, we fixed the docker
tag to be a legal tag during build.  This PR makes the corresponding
change to the tag during upload.  Without this, we build the right tag,
but then we try to upload the wrong tag.
parent 9cb97346
......@@ -5,5 +5,8 @@
TAG="${CIRRUS_TAG:-latest}"
sudo docker push "gcr.io/flutter-cirrus/build-flutter-image:$TAG"
# Convert "+" to "-" to make hotfix tags legal Docker tag names.
# See https://docs.docker.com/engine/reference/commandline/tag/
TAG=${TAG/+/-}
sudo docker push "gcr.io/flutter-cirrus/build-flutter-image:$TAG"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment