From 7549eaa5d001beb7ec7bda9cdef8b4171b25e4c0 Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 18 Mar 2024 18:57:55 +0100 Subject: [PATCH] bugfix --- .woodpecker.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 7093121..cac73b3 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -8,7 +8,7 @@ pipeline: - GOOS=linux - GOARCH=amd64 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: image: woodpeckerci/plugin-docker-buildx diff --git a/Dockerfile b/Dockerfile index 705396d..9c8673e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.12.3 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 EXPOSE 3000