Skip to content

Commit

Permalink
telemetry token fix ofr docker build (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
fog1985 committed Nov 19, 2021
1 parent 3c52a6f commit 15092f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/api-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV GOOS=linux
ARG VERSION
ARG COMMIT

RUN cd cmd/api-server;go build -ldflags "-X github.com/kubeshop/testkube/internal/pkg/api.Version=$VERSION -X github.com/kubeshop/testkube/internal/pkg/api.Commit=$COMMIT" -X github.com/kubeshop/testkube/pkg/telemetry.telemetryToken=${{ secrets.TELEMETRY_TOKEN }} -o /app -mod mod -a .
RUN cd cmd/api-server;go build -ldflags "-X github.com/kubeshop/testkube/internal/pkg/api.Version=$VERSION -X github.com/kubeshop/testkube/internal/pkg/api.Commit=$COMMIT" -X github.com/kubeshop/testkube/pkg/telemetry.telemetryToken=$TELEMETRY_TOKEN -o /app -mod mod -a .

FROM alpine:latest
RUN apk --no-cache add ca-certificates libssl1.1
Expand Down

0 comments on commit 15092f4

Please sign in to comment.