David Brazdil | 5ecf75f | 2019-07-21 10:39:47 +0200 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # Copyright 2019 The Hafnium Authors. |
| 3 | # |
Andrew Walbran | e959ec1 | 2020-06-17 15:01:09 +0100 | [diff] [blame] | 4 | # Use of this source code is governed by a BSD-style |
| 5 | # license that can be found in the LICENSE file or at |
| 6 | # https://opensource.org/licenses/BSD-3-Clause. |
Andrew Walbran | 5e71e9b | 2020-06-17 15:44:49 +0100 | [diff] [blame] | 7 | |
David Brazdil | 5ecf75f | 2019-07-21 10:39:47 +0200 | [diff] [blame] | 8 | set -euo pipefail |
| 9 | |
David Brazdil | 4a51d65 | 2019-12-20 13:27:54 +0000 | [diff] [blame] | 10 | SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
David Brazdil | 5ecf75f | 2019-07-21 10:39:47 +0200 | [diff] [blame] | 11 | source "${SCRIPT_DIR}/common.inc" |
| 12 | |
| 13 | # Requires for the user to be an owner of the GCP 'hafnium-build' project and |
| 14 | # have gcloud SDK installed and authenticated. |
| 15 | |
| 16 | ${DOCKER} push "${CONTAINER_TAG}" |