Skip to content

Commit

Permalink
Fetch history in Cloud Build (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
fkorotkov authored Mar 9, 2021
1 parent 2c2c0d0 commit bfc6ec8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/cirrus-ci-community/cirrus-cli:$TAG_NAME', '-t', 'gcr.io/cirrus-ci-community/cirrus-cli:latest', '.']
- name: gcr.io/cloud-builders/git
args: [ 'fetch', '--unshallow' ]
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'gcr.io/cirrus-ci-community/cirrus-cli:$TAG_NAME', '-t', 'gcr.io/cirrus-ci-community/cirrus-cli:latest', '.' ]
timeout: 2400s
images: ['gcr.io/cirrus-ci-community/cirrus-cli:$TAG_NAME', 'gcr.io/cirrus-ci-community/cirrus-cli:latest']
images: [ 'gcr.io/cirrus-ci-community/cirrus-cli:$TAG_NAME', 'gcr.io/cirrus-ci-community/cirrus-cli:latest' ]

0 comments on commit bfc6ec8

Please sign in to comment.