1
0
mirror of https://github.com/docker/build-push-action.git synced 2025-02-28 14:00:13 +08:00

5 lines
127 B
Docker
Raw Normal View History

# syntax=docker/dockerfile:1
FROM busybox
RUN --mount=type=secret,id=MYSECRET \
echo "MYSECRET=$(cat /run/secrets/MYSECRET)"