blob: edd8a2897b8924c9e5051a5dcb360c1e682a7369 [file] [log] [blame]
David Brazdil5ecf75f2019-07-21 10:39:47 +02001#!/usr/bin/env bash
2# Copyright 2019 The Hafnium Authors.
3#
Andrew Walbrane959ec12020-06-17 15:01:09 +01004# 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 Walbran5e71e9b2020-06-17 15:44:49 +01007
David Brazdil5ecf75f2019-07-21 10:39:47 +02008set -euo pipefail
9
David Brazdil4a51d652019-12-20 13:27:54 +000010SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
David Brazdil5ecf75f2019-07-21 10:39:47 +020011source "${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}"