diff --git a/.env.example b/.env.example index 785eb9c..22cab32 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,4 @@ +INHOOKS_CONFIG_FILE=inhooks.yml APP_ENV=development HOST=localhost PORT=3000 diff --git a/.goreleaser.yml b/.goreleaser.yml index fa0a8f4..2ec677a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: diff --git a/Dockerfile-goreleaser b/Dockerfile-goreleaser new file mode 100644 index 0000000..51b0f43 --- /dev/null +++ b/Dockerfile-goreleaser @@ -0,0 +1,7 @@ +FROM alpine:3.21 + +WORKDIR /app + +COPY inhooks /app/api + +CMD ["/app/api"] \ No newline at end of file diff --git a/README.md b/README.md index 1acbab9..a1b0244 100644 --- a/README.md +++ b/README.md @@ -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