<commit_before># This cloudbuild is run on the creation of new tags, which should signify releases.

steps:
# Build the container that will do the go build
  - name: 'gcr.io/cloud-builders/docker'
    args: ['build', '-t', 'builder', '-f', 'deploy/Dockerfile.build', '.']

# Do the go build
  - name: 'builder'
    args: ['make', 'cross']

# Upload to GCS
  - name: 'gcr.io/cloud-builders/gsutil'
    args: ['cp', '-r', 'out/*', 'gs://container-structure-test/$TAG_NAME/']

  - name: 'gcr.io/cloud-builders/gsutil'
    args: ['cp', '-r', 'gs://container-structure-test/$TAG_NAME/*', 'gs://container-structure-test/latest/']

# Build the image
  - name: 'gcr.io/cloud-builders/docker'
    args: ['build', '-t', 'gcr.io/gcp-runtimes/container-structure-test:$TAG_NAME',
           '-f', 'deploy/Dockerfile', '.']

# Tag the image as latest
  - name: 'gcr.io/cloud-builders/docker'
    args: ['tag', gcr.io/gcp-runtimes/container-structure-test:$TAG_NAME',<commit_msg>fix typo in release cloudbuild (#202)<commit_after># This cloudbuild is run on the creation of new tags, which should signify releases.

steps:
# Build the container that will do the go build
  - name: 'gcr.io/cloud-builders/docker'
    args: ['build', '-t', 'builder', '-f', 'deploy/Dockerfile.build', '.']

# Do the go build
  - name: 'builder'
    args: ['make', 'cross']

# Upload to GCS
  - name: 'gcr.io/cloud-builders/gsutil'
    args: ['cp', '-r', 'out/*', 'gs://container-structure-test/$TAG_NAME/']

  - name: 'gcr.io/cloud-builders/gsutil'
    args: ['cp', '-r', 'gs://container-structure-test/$TAG_NAME/*', 'gs://container-structure-test/latest/']

# Build the image
  - name: 'gcr.io/cloud-builders/docker'
    args: ['build', '-t', 'gcr.io/gcp-runtimes/container-structure-test:$TAG_NAME',
           '-f', 'deploy/Dockerfile', '.']

# Tag the image as latest
  - name: 'gcr.io/cloud-builders/docker'
    args: ['tag', 'gcr.io/gcp-runtimes/container-structure-test:$TAG_NAME',
{'fraction_non_alphanumeric': 0.19846547314578006, 'fraction_numerical': 0.001534526854219949, 'mean_word_length': 3.506912442396313, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3804915', 'n_tokens_mistral': 726, 'n_tokens_neox': 709, 'n_words': 164}