You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM --platform=$BUILDPLATFORM golang:latest AS builder
ARG TARGETARCH
WORKDIR /youtube-exporter
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -ldflags="-X github.com/coolapso/prometheus-youtube-exporter/cmd.Version=${VERSION}" -a -o youtube-exporter