Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,13 @@ jobs:
go run ./cmd/epmon validate --config config.example.json
- run: go vet ./...
- run: go test -race ./...
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: image builds and runs
run: |
docker build -t epmon:ci .
docker run --rm --entrypoint /epmon epmon:ci version
- name: compose file parses
run: docker compose config
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN CGO_ENABLED=0 go build -trimpath \

FROM alpine:3.21
RUN adduser -D -H epmon
COPY --from=build /epmon /epmon
USER epmon
WORKDIR /data
EXPOSE 8080
Expand Down
Loading