FROM golang:1.15.8-alpine3.12
COPY --from=plugins/manifest:1.2.3 /bin/* /bin/
RUN apk -U --no-cache add bash
ARG DOCKER_USERNAME
ENV DOCKER_USERNAME $DOCKER_USERNAME
ARG DOCKER_PASSWORD
ENV DOCKER_PASSWORD $DOCKER_PASSWORD
ARG DRONE_TAG
ENV DRONE_TAG $DRONE_TAG
COPY ./scripts/manifest /bin/
RUN manifest