1 parent 8ae912e commit 4e1ef94Copy full SHA for 4e1ef94
2 files changed
api/Dockerfile
@@ -10,7 +10,7 @@ COPY go.sum .
10
11
RUN go mod download
12
13
-COPY .. .
+COPY . .
14
15
RUN go install github.com/swaggo/swag/cmd/swag
16
RUN swag init
@@ -33,4 +33,4 @@ ENV ZONEINFO=/zoneinfo.zip
33
34
EXPOSE 8000
35
36
-ENTRYPOINT ["./http-sms"]
+ENTRYPOINT ["./http-sms"]
api/cloudbuild.yaml
@@ -1,6 +1,6 @@
1
steps:
2
- name: "gcr.io/kaniko-project/executor:latest"
3
- id: "Build Image and Push"
+ id: "Build image and push"
4
dir: "api"
5
args:
6
- "--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA"
@@ -10,7 +10,7 @@ steps:
- "--build-arg=GIT_COMMIT=$COMMIT_SHA"
- "--snapshotMode=time"
- - id: "Deploy to Cloud Run"
+ - id: "Deploy to cloud run"
name: "gcr.io/cloud-builders/gcloud"
entrypoint: "bash"
0 commit comments