Ensure that docker tag is legal (#46035)
This commit is contained in:
parent
4c95bbd1c6
commit
066a992a5c
@ -5,6 +5,10 @@
|
||||
|
||||
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
|
||||
sudo docker pull "gcr.io/flutter-cirrus/build-flutter-image:$TAG"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user