Skip to content

Commit

Permalink
fix: fix goreleaser docker (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
didil authored Feb 1, 2025
1 parent 0a3336b commit ffce72c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
INHOOKS_CONFIG_FILE=inhooks.yml
APP_ENV=development
HOST=localhost
PORT=3000
Expand Down
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ archives:
- CHANGELOG.md

dockers:
- image_templates:
- dockerfile: Dockerfile-goreleaser
image_templates:
- "ghcr.io/didil/inhooks:{{ .Tag }}-amd64"
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- image_templates:
- dockerfile: Dockerfile-goreleaser
image_templates:
- "ghcr.io/didil/inhooks:{{ .Tag }}-arm64"
use: buildx
build_flag_templates:
Expand Down
7 changes: 7 additions & 0 deletions Dockerfile-goreleaser
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM alpine:3.21

WORKDIR /app

COPY inhooks /app/api

CMD ["/app/api"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tar -xvzf inhooks_${INHOOKS_VERSION}_${OS}_${ARCH}.tar.gz
```

## Docker images:
The docker images are available at:
The released docker images are available at:


## Usage
Expand Down

0 comments on commit ffce72c

Please sign in to comment.