Skip to content

Commit

Permalink
Merge pull request #1010 from ronanww/patch-1
Browse files Browse the repository at this point in the history
Update cloudbuild.yaml
  • Loading branch information
haroonc authored Sep 13, 2024
2 parents 02d5a9b + 246a271 commit 46cb52c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wget/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ steps:

# GET data from a server, specifying an Authorization header.
- name: 'gcr.io/$PROJECT_ID/wget'
args: ['-Ofile.out', '--header', 'Authorization: Bearer foobar', 'https://www.example.com', '-d']
args: ['-Ofile.out', '--header', 'Authorization: Bearer foobar', 'https://httpbin.org', '-d']

# POST information to a server, specifying a Content-type header.
- name: 'gcr.io/$PROJECT_ID/wget'
args: ['--header', 'Content-type: application/json', '--post-data="{\"buildID\": \"$BUILD_ID\"}"', 'https://www.example.com']
args: ['--header', 'Content-type: application/json', '--post-data="{\"buildID\": \"$BUILD_ID\"}"', 'https://httpbin.org/post']

images:
- 'gcr.io/$PROJECT_ID/wget'

0 comments on commit 46cb52c

Please sign in to comment.