mirror of
https://github.com/ossf/scorecard.git
synced 2024-11-04 03:52:31 +03:00
Tweak the Dockerfile to make it more generally useful.
This commit is contained in:
parent
24fa4cca5e
commit
54770143b9
@ -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" ]
|
||||
|
@ -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/"
|
||||
|
Loading…
Reference in New Issue
Block a user