Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix goreleaser docker #65

Merged
merged 1 commit into from
Feb 1, 2025
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
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
Loading