Unverified Commit 066a992a authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Ensure that docker tag is legal (#46035)

parent 4c95bbd1
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
TAG="${CIRRUS_TAG:-latest}" TAG="${CIRRUS_TAG:-latest}"
# Convert "+" to "-" to make hotfix tags legal Docker tag names.
# See https://docs.docker.com/engine/reference/commandline/tag/
TAG=${TAG/+/-}
# pull to make sure we are not rebuilding for nothing # pull to make sure we are not rebuilding for nothing
sudo docker pull "gcr.io/flutter-cirrus/build-flutter-image:$TAG" sudo docker pull "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