diff --git a/cmd/admin/Dockerfile b/cmd/admin/Dockerfile index f07e2b3..4b0a295 100644 --- a/cmd/admin/Dockerfile +++ b/cmd/admin/Dockerfile @@ -14,7 +14,7 @@ RUN if git describe --tags --exact-match >/dev/null 2>&1; then \ goreleaser build --id platypus-admin --clean; \ else \ echo "Commit is not tagged. Creating a snapshot build."; \ - goreleaser build --id platypus-admin --clean --snapshot; \ + goreleaser build --id platypus-admin --clean --snapshot --single-target; \ fi RUN cp dist/platypus-admin_${TARGETOS}_${TARGETARCH}_v1/platypus-admin /usr/local/bin/platypus-admin diff --git a/cmd/agent/Dockerfile b/cmd/agent/Dockerfile index 9efd477..083815d 100644 --- a/cmd/agent/Dockerfile +++ b/cmd/agent/Dockerfile @@ -14,7 +14,7 @@ RUN if git describe --tags --exact-match >/dev/null 2>&1; then \ goreleaser build --id platypus-agent --clean; \ else \ echo "Commit is not tagged. Creating a snapshot build."; \ - goreleaser build --id platypus-agent --clean --snapshot; \ + goreleaser build --id platypus-agent --clean --snapshot --single-target; \ fi RUN cp dist/platypus-agent_${TARGETOS}_${TARGETARCH}_v1/platypus-agent /usr/local/bin/platypus-agent diff --git a/cmd/server/Dockerfile b/cmd/server/Dockerfile index d32d8a3..0eff068 100644 --- a/cmd/server/Dockerfile +++ b/cmd/server/Dockerfile @@ -14,7 +14,7 @@ RUN if git describe --tags --exact-match >/dev/null 2>&1; then \ goreleaser build --id platypus-server --clean; \ else \ echo "Commit is not tagged. Creating a snapshot build."; \ - goreleaser build --id platypus-server --clean --snapshot; \ + goreleaser build --id platypus-server --clean --snapshot --single-target; \ fi RUN cp dist/platypus-server_${TARGETOS}_${TARGETARCH}_v1/platypus-server /usr/local/bin/platypus-server