mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-22 22:56:37 +02:00
ci: secret job to check for invalid secrets
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
871b930e7a
commit
47c00d78bf
3 changed files with 28 additions and 2 deletions
4
test/secret.Dockerfile
Normal file
4
test/secret.Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM busybox
|
||||
RUN --mount=type=secret,id=MYSECRET \
|
||||
echo "MYSECRET=$(cat /run/secrets/MYSECRET)"
|
Loading…
Add table
Add a link
Reference in a new issue