Tweak the Dockerfile to make it more generally useful.

This commit is contained in:
Dan Lorenc 2020-11-13 14:32:21 -06:00
parent 24fa4cca5e
commit 54770143b9
2 changed files with 3 additions and 3 deletions

View File

@ -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" ]

View File

@ -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/"