bugfix
This commit is contained in:
parent
b8087ff4d9
commit
7549eaa5d0
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user