Skip to content

Commit 1840700

Browse files
committed
GoReleaser設定を更新し、Docker関連の設定を削除。インストール手順を明確化しました。
1 parent 4a9697f commit 1840700

File tree

1 file changed

+2
-40
lines changed

1 file changed

+2
-40
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -126,50 +126,12 @@ release:
126126
Welcome to this new release of gopose!
127127
128128
footer: |
129-
## Docker
129+
## Installation
130130
131-
You can also run gopose using Docker:
132-
133-
```bash
134-
docker run --rm -v $(pwd):/workspace ghcr.io/harakeishi/gopose:{{ .Tag }} up
135-
```
131+
Download the appropriate binary for your platform from the assets below.
136132
137133
name_template: "{{.ProjectName}}-v{{.Version}}"
138134

139-
# Homebrew casks (updated for v2)
140-
homebrew_casks:
141-
- repository:
142-
owner: harakeishi
143-
name: homebrew-tap
144-
branch: main
145-
homepage: https://github.com/harakeishi/gopose
146-
description: "Go Port Override Solution Engine - Docker Compose port conflict resolver"
147-
license: "MIT"
148-
149-
150-
# Docker images
151-
dockers:
152-
- image_templates:
153-
- "ghcr.io/harakeishi/gopose:latest"
154-
- "ghcr.io/harakeishi/gopose:{{ .Tag }}"
155-
- "ghcr.io/harakeishi/gopose:v{{ .Major }}"
156-
- "ghcr.io/harakeishi/gopose:v{{ .Major }}.{{ .Minor }}"
157-
dockerfile: |
158-
FROM alpine:3.19
159-
RUN apk add --no-cache ca-certificates tzdata
160-
COPY gopose /usr/local/bin/
161-
WORKDIR /workspace
162-
ENTRYPOINT ["/usr/local/bin/gopose"]
163-
build_flag_templates:
164-
- "--platform=linux/amd64"
165-
- "--label=org.opencontainers.image.title={{.ProjectName}}"
166-
- "--label=org.opencontainers.image.description=Docker Compose port conflict resolver"
167-
- "--label=org.opencontainers.image.url=https://github.com/harakeishi/gopose"
168-
- "--label=org.opencontainers.image.source=https://github.com/harakeishi/gopose"
169-
- "--label=org.opencontainers.image.version={{.Version}}"
170-
- "--label=org.opencontainers.image.created={{.Date}}"
171-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
172-
- "--label=org.opencontainers.image.licenses=MIT"
173135

174136
# Announcement
175137
announce:

0 commit comments

Comments
 (0)