blob: c4bb478e7b01273181d9bf57745babc8c9c9d578 [file] [log] [blame]
# Copyright 2024 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
steps:
- name: 'gcr.io/cloud-builders/docker'
args:
- 'build'
- '-f'
- 'cmd/watchflakes/Dockerfile'
- '--build-arg'
- 'version=${TAG_NAME}'
- '-t'
- 'gcr.io/symbolic-datum-552/watchflakes:${TAG_NAME}'
- '-t'
- 'gcr.io/symbolic-datum-552/watchflakes:latest'
- '.'
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/symbolic-datum-552/watchflakes:${TAG_NAME}']
images:
- 'gcr.io/symbolic-datum-552/watchflakes:${TAG_NAME}'
- 'gcr.io/symbolic-datum-552/watchflakes:latest'
options:
logging: CLOUD_LOGGING_ONLY