Skip to content

Commit 2707598

Browse files
authored
Merge pull request #51 from DataDog/jf/K9VULN-4306
Add shim Docker image to update @DataDog/datadog-ci
2 parents 1297a54 + 62eb52d commit 2707598

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM ghcr.io/datadog/datadog-static-analyzer:latest
2+
3+
# Note: `datadog/datadog-static-analyzer` container pre-installs datadog/datadog-ci. Until it can be
4+
# refactored to not do this, we need to manually update @datadog/datadog-ci here.
5+
RUN npm update -g @datadog/datadog-ci && npm list -g @datadog/datadog-ci
6+
7+
ENTRYPOINT ["github-action.sh"]

action.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ inputs:
5151
default: "true"
5252
runs:
5353
using: "docker"
54-
image: "docker://ghcr.io/datadog/datadog-static-analyzer:latest"
55-
entrypoint: "github-action.sh"
54+
image: "Dockerfile"
5655
env:
5756
DD_API_KEY: ${{ inputs.dd_api_key }}
5857
DD_APP_KEY: ${{ inputs.dd_app_key }}

0 commit comments

Comments
 (0)