blob: 152161ec0d79ab566dc20137afe4b3a5bd134939 [file] [log] [blame] [edit]
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
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/+/-}
sudo docker push "gcr.io/flutter-cirrus/build-flutter-image:$TAG"