add golang osusergo tag

This commit is contained in:
Robert Kaussow 2023-01-14 16:15:27 +01:00
parent 2d24711536
commit 390e097aee
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 1 additions and 5 deletions

View File

@ -17,9 +17,5 @@ LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-s3-sync"
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-s3-sync"
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-s3-sync"
RUN apk --update add --no-cache libc6-compat && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/*
COPY --from=build /src/dist/drone-s3-sync /bin/drone-s3-sync
ENTRYPOINT ["/bin/drone-s3-sync"]

View File

@ -27,7 +27,7 @@ TARGETARCH ?= amd64
ifneq ("$(TARGETVARIANT)","")
GOARM ?= $(subst v,,$(TARGETVARIANT))
endif
TAGS ?= netgo
TAGS ?= netgo,osusergo
ifndef VERSION
ifneq ($(DRONE_TAG),)