Skip to content

Commit

Permalink
test cloud build
Browse files Browse the repository at this point in the history
  • Loading branch information
sudeepkunhis committed Dec 16, 2024
1 parent e9fa4d7 commit d88dcd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-f', 'Dockerfile', '-t', 'europe-west2-docker.pkg.dev/ons-cirmig-sandbox/cir-converter-service/cir-converter-service:latest', '.']
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'europe-west2-docker.pkg.dev/ons-cirmig-sandbox/cir-converter-service/cir-converter-service:latest']
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Simple hello world endpoint
@app.get("/")
def index() -> dict:
return {"message": "Hello World!"}
return {"message": "Hello World! - Test Cloud Build!"}

0 comments on commit d88dcd8

Please sign in to comment.