golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/watchflakes/cloudbuild.yaml (about)

     1  # Copyright 2024 The Go Authors. All rights reserved.
     2  # Use of this source code is governed by a BSD-style
     3  # license that can be found in the LICENSE file.
     4  
     5  steps:
     6  - name: 'gcr.io/cloud-builders/docker'
     7    args:
     8      - 'build'
     9      - '-f'
    10      - 'cmd/watchflakes/Dockerfile'
    11      - '--build-arg'
    12      - 'version=${TAG_NAME}'
    13      - '-t'
    14      - 'gcr.io/symbolic-datum-552/watchflakes:${TAG_NAME}'
    15      - '-t'
    16      - 'gcr.io/symbolic-datum-552/watchflakes:latest'
    17      - '.'
    18  - name: 'gcr.io/cloud-builders/docker'
    19    args: ['push', 'gcr.io/symbolic-datum-552/watchflakes:${TAG_NAME}']
    20  images:
    21  - 'gcr.io/symbolic-datum-552/watchflakes:${TAG_NAME}'
    22  - 'gcr.io/symbolic-datum-552/watchflakes:latest'
    23  options:
    24    logging: CLOUD_LOGGING_ONLY