mirror of
https://gitea.com/docker/metadata-action.git
synced 2024-11-23 12:39:32 +01:00
cb0becceaf
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
14 lines
509 B
Docker
14 lines
509 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM alpine
|
|
RUN apk add --no-cache coreutils jq
|
|
ARG DOCKER_METADATA_OUTPUT_VERSION
|
|
ARG DOCKER_METADATA_OUTPUT_TAGS
|
|
ARG DOCKER_METADATA_OUTPUT_LABELS
|
|
ARG DOCKER_METADATA_OUTPUT_ANNOTATIONS
|
|
ARG DOCKER_METADATA_OUTPUT_JSON
|
|
RUN printenv DOCKER_METADATA_OUTPUT_VERSION
|
|
RUN printenv DOCKER_METADATA_OUTPUT_TAGS
|
|
RUN printenv DOCKER_METADATA_OUTPUT_LABELS
|
|
RUN printenv DOCKER_METADATA_OUTPUT_ANNOTATIONS
|
|
RUN printenv DOCKER_METADATA_OUTPUT_JSON
|
|
RUN echo $DOCKER_METADATA_OUTPUT_JSON | jq
|