Skip to content

Commit 6e00589

Browse files
feat: add arm64 support for docker image (#6)
* feat: add arm64 support for docker image * feat: use digest instead of tag for image * feat: add version to base image
1 parent ce61352 commit 6e00589

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/reusable-build-and-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
uses: docker/build-push-action@v4
6363
with:
6464
context: .
65+
platforms: linux/amd64,linux/arm64
6566
tags: ghcr.io/openclarity/exploit-db-server:${{ inputs.image_tag }}
6667
file: Dockerfile
6768
push: ${{ inputs.push }}

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# go-exploitdb v0.4.5
2-
FROM vuls/go-exploitdb@sha256:9f18d41d3f1a75d851a6126dba8aff873d1d2bb2ded78cbd6d0150cd0dba655d
1+
FROM vuls/go-exploitdb:v0.4.5@sha256:ba49bb2334b7747a05f8899ead84c5d09ca3f4879419aa76d63f308fa4215c9c
32

43
# Make directory to store DB if not volume mounted
54
RUN mkdir /vuls

0 commit comments

Comments
 (0)