fix(docker): update deprecated LABEL format (#1615)

This commit is contained in:
ze0s 2024-08-11 20:58:26 +02:00 committed by GitHub
parent abfac05b66
commit b9830f61b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 6 deletions

View file

@ -15,7 +15,9 @@ COPY . ./
ARG VERSION=dev
ARG REVISION=dev
ARG BUILDTIME
ARG TARGETOS TARGETARCH TARGETVARIANT
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
RUN --network=none --mount=target=. \
export GOOS=$TARGETOS; \
@ -30,9 +32,9 @@ go build -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${REVISION} -
# build runner
FROM alpine:latest AS runner
LABEL org.opencontainers.image.source = "https://github.com/autobrr/autobrr"
LABEL org.opencontainers.image.licenses = "GPL-2.0-or-later"
LABEL org.opencontainers.image.base.name = "alpine:latest"
LABEL org.opencontainers.image.source="https://github.com/autobrr/autobrr"
LABEL org.opencontainers.image.licenses="GPL-2.0-or-later"
LABEL org.opencontainers.image.base.name="alpine:latest"
ENV HOME="/config" \
XDG_CONFIG_HOME="/config" \