Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
81 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
before: | ||
hooks: | ||
- npm run build | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- arm | ||
- arm64 | ||
archive: | ||
replacements: | ||
amd64: 64-bit | ||
386: 32-bit | ||
arm64: ARM_64-bit | ||
arm: ARM_32-bit | ||
linux: Linux | ||
darwin: Darwin | ||
checksum: | ||
name_template: "checksums.txt" | ||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- "^docs:" | ||
- "^test:" | ||
|
||
nfpm: | ||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
replacements: | ||
amd64: 64-bit | ||
386: 32-bit | ||
arm64: ARM_64-bit | ||
arm: ARM_32-bit | ||
linux: Linux | ||
darwin: macOS | ||
|
||
vendor: Amir Raminfar | ||
homepage: https://github.com/amir20/dozzle/ | ||
maintainer: Amir Raminfar <findamir@gmail.com> | ||
formats: | ||
- deb | ||
- rpm | ||
|
||
dockers: | ||
- image: amir20/dozzle | ||
tag_templates: | ||
- "{{ .Tag }}" | ||
- "v{{ .Major }}.{{ .Minor }}" | ||
- latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM alpine:latest as certs | ||
RUN apk --update add ca-certificates | ||
|
||
FROM scratch | ||
ENV PATH=/bin | ||
ENV DOCKER_API_VERSION 1.38 | ||
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||
COPY dozzle / | ||
ENTRYPOINT ["/dozzle"] | ||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters