mirror of
https://github.com/encounter/flutter.git
synced 2026-03-30 11:10:35 -07:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user