Skip to content

Commit

Permalink
✨ Use local dockerfile instead of pre-built image (#38)
Browse files Browse the repository at this point in the history
* use dockerfile

* update hash
  • Loading branch information
laurentsimon committed Jan 4, 2022
1 parent 2b1a2f9 commit db8ccbd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 46 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/docker-sign.yml

This file was deleted.

3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
# -e INPUT_REPO_TOKEN=$GITHUB_AUTH_TOKEN \
# -e GITHUB_REPOSITORY="ossf/scorecard" \
# laurentsimon/scorecard-action:latest
ARG DOCKER_SHA
FROM gcr.io/openssf/scorecard@sha256:${DOCKER_SHA} as base
FROM gcr.io/openssf/scorecard@sha256:988824994c6c8929bd2bc2e119e19139ef8ea8d684e89d722054ada03afad538 as base

# Build our image and update the root certs.
# TODO: use distroless.
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ branding:

runs:
using: "docker"
image: "docker://laurentsimon/scorecard-action:latest"
image: "./Dockerfile"

0 comments on commit db8ccbd

Please sign in to comment.