bugfix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Stefan Hoffmann 2024-03-18 18:57:55 +01:00
parent b8087ff4d9
commit 7549eaa5d0
Signed by: stefan
GPG Key ID: 230E4E5FC468C133
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ pipeline:
- GOOS=linux - GOOS=linux
- GOARCH=amd64 - GOARCH=amd64
commands: commands:
- go build -ldflags -s -w -X main.version=${CI_COMMIT_TAG}" -trimpath -o release/ubnt-freifunk-map-api . - go build -ldflags "-s -w -X main.version=${CI_COMMIT_TAG}" -trimpath -o release/ubnt-freifunk-map-api .
docker: docker:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx

View File

@ -1,7 +1,7 @@
FROM alpine:3.12.3 FROM alpine:3.12.3
WORKDIR /opt/ WORKDIR /opt/
ADD ./release/*/*/ubnt-freifunk-map-api /opt/ubnt-freifunk-map-api ADD ./release/ubnt-freifunk-map-api /opt/ubnt-freifunk-map-api
RUN chmod +x /opt/ubnt-freifunk-map-api RUN chmod +x /opt/ubnt-freifunk-map-api
EXPOSE 3000 EXPOSE 3000