mirror of
https://github.com/BishopFox/sj.git
synced 2026-11-07 10:26:01 -10:00
Added docker support for releases
This commit is contained in:
1 parent
331bb1a05c
commit
3f99ffb48c
2 files changed
+25
No files matched your search
@@ -30,6 +30,24 @@ archives:
|
||||
- goos: windows
|
||||
format: zip
|
||||
|
||||
dockers_v2:
|
||||
- images:
|
||||
- "ghcr.io/bishopfox/sj"
|
||||
dockerfile: Dockerfile
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
tags:
|
||||
- "{{ .Version }}"
|
||||
- "latest"
|
||||
labels:
|
||||
org.opencontainers.image.title: "{{ .ProjectName }}"
|
||||
org.opencontainers.image.description: "Swagger Jacker"
|
||||
org.opencontainers.image.version: "{{ .Version }}"
|
||||
org.opencontainers.image.revision: "{{ .FullCommit }}"
|
||||
org.opencontainers.image.source: "https://github.com/BishopFox/sj"
|
||||
org.opencontainers.image.licenses: "MIT"
|
||||
|
||||
changelog:
|
||||
disable: false
|
||||
sort: asc
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
COPY ${TARGETOS}/${TARGETARCH}/sj /usr/local/bin/sj
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/sj"]
|
||||
Reference in new issue
Block a user