Files

10 lines
253 B
Bash
Raw Permalink Normal View History

#!/bin/bash
TAG="${CIRRUS_TAG:-latest}"
2019-12-09 15:58:15 -08:00
# Convert "+" to "-" to make hotfix tags legal Docker tag names.
# See https://docs.docker.com/engine/reference/commandline/tag/
TAG=${TAG/+/-}
2019-12-09 15:58:15 -08:00
sudo docker push "gcr.io/flutter-cirrus/build-flutter-image:$TAG"