Skip to content

Commit

Permalink
Merge pull request #70 from dlorenc/dockerfile
Browse files Browse the repository at this point in the history
Tweak the Dockerfile to make it more generally useful.
  • Loading branch information
kimsterv authored Nov 13, 2020
2 parents 24fa4cc + 5477014 commit 6990642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ RUN [ "go", "build", "."]
FROM gcr.io/cloud-builders/gsutil
WORKDIR /go/src/github.com/ossf/scorecard
COPY --from=0 /go/src/github.com/ossf/scorecard /go/src/github.com/ossf/scorecard
ENTRYPOINT [ "./cron/cron.sh" ]
ENTRYPOINT [ "./scorecard" ]
4 changes: 2 additions & 2 deletions k8s/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ spec:
- name: run-score
image: gcr.io/openssf/cron:latest
imagePullPolicy: Always
args:
command:
- /bin/sh
- -c
- /cron/cron.sh
- ./cron/cron.sh
volumeMounts:
- name: github-app-key
mountPath: "/etc/github/"
Expand Down

0 comments on commit 6990642

Please sign in to comment.