Skip to content

Commit

Permalink
fix: dev: invalid goreleaser configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsk committed Nov 25, 2023
1 parent ff36980 commit c7b307a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,12 @@ dockers:
- '--label=org.opencontainers.image.version={{.Version}}'
- '--platform=linux/amd64'
extra_files:
- deploy/config.toml
- LICENSE
- id: server-linux-arm64
- id: service-linux-arm64
goos: linux
goarch: arm64
ids:
- server
- sparkle
image_templates:
- 'ghcr.io/withsparkle/service:{{.Tag}}-arm64'
- 'ghcr.io/withsparkle/service:v{{.Major}}-arm64'
Expand All @@ -90,7 +89,6 @@ dockers:
- '--label=org.opencontainers.image.version={{.Version}}'
- '--platform=linux/arm64'
extra_files:
- deploy/config.toml
- LICENSE

docker_manifests:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.description="The personal development framework a
LABEL org.opencontainers.image.source="https://github.com/withsparkle/service"
LABEL org.opencontainers.image.licenses="AGPL-3.0-later"

COPY sparkle /
COPY sparkle /sparkle
EXPOSE 3360 8080 8081 8890 8891

ENTRYPOINT ["/sparkle"]
Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ go-server:
.PHONY: go-server

go-dist-check:
$(AT) goreleaser --clean --skip=publish --snapshot
$(AT) goreleaser check
.PHONY: go-dist-check

go-dist-clean:
Expand All @@ -323,6 +323,10 @@ go-dist-installer:
$(AT) godownloader .goreleaser.yml >bin/install
.PHONY: go-dist-installer

go-dist-snapshot:
$(AT) goreleaser --clean --snapshot
.PHONY: go-dist-snapshot

TOOLFLAGS ?= -mod=

go-tools-env:
Expand Down Expand Up @@ -487,6 +491,9 @@ client: go-client
server: go-server
.PHONY: server

build: go-build
.PHONY: build

install: go-install
.PHONY: install

Expand Down

0 comments on commit c7b307a

Please sign in to comment.