File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 29
29
contents : read # for actions/checkout to fetch code
30
30
security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
31
31
runs-on : ubuntu-latest
32
+ env :
33
+ SERVICE_ACCOUNT_JSON : ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
34
+ JDK_DRIVEID : ${{ secrets.JDK11_DRIVEID }}
32
35
steps :
33
36
- name : Checkout the code
34
37
uses : actions/checkout@v2
38
+
39
+ - name : Download Files from Google Drive
40
+ uses : docker://gvfn/gdrive
41
+ with :
42
+ entrypoint : " /bin/sh"
43
+ args : |
44
+ -c "\
45
+ gdrive --config /gdrive --service-account-evar SERVICE_ACCOUNT_JSON download --path /github/workspace/packages/ ${JDK_DRIVEID}
46
+
35
47
- name : Build the Docker image
36
48
run : docker build . --file Dockerfile --tag localbuild/testimage:latest
37
49
- name : Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
You can’t perform that action at this time.
0 commit comments