Skip to content

Commit

Permalink
Merge pull request knative-sample#9 from knative-sample/0.3
Browse files Browse the repository at this point in the history
fix(Dockerfile): fix dockerfile path
  • Loading branch information
kubeway authored Jun 16, 2019
2 parents 8a2cfd4 + f7bd514 commit 4eeaa82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY vendor/ vendor/
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin/knload github.com/knative-sample/knload/cmd/

FROM registry.cn-hangzhou.aliyuncs.com/knative-sample/alpine-sh:3.9
FROM registry.cn-hangzhou.aliyuncs.com/knative-sample/alpine-sh:3.9-263c0d94

WORKDIR /app/
RUN mkdir -p /app/bin/
Expand Down
2 changes: 1 addition & 1 deletion github-trigger/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data:
- name: build-and-push
image: "registry.cn-hangzhou.aliyuncs.com/knative-release/kaniko-project-executor:v0.6.0"
args:
- "--dockerfile=/workspace/Dockerfile"
- "--dockerfile=/workspace/build/Dockerfile"
# Replace meteatamel with your actual DockerHub
- "--destination=registry.cn-hangzhou.aliyuncs.com/knative-sample/knload:{{.ShortCommitid}}"
env:
Expand Down

0 comments on commit 4eeaa82

Please sign in to comment.