Commit 50a8955d authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-fix-auto-devops-docker-code-block-formatting' into 'master'

Fix docker code block formatting in ADO docs

See merge request gitlab-org/gitlab!16899
parents e02d5a1c c011f52f
......@@ -752,14 +752,14 @@ In projects:
1. Activate the experimental `Dockerfile` syntax by adding the following
to the top of the file:
```Dockerfile
```docker
# syntax = docker/dockerfile:experimental
```
1. To make secrets available in any `RUN $COMMAND` in the `Dockerfile`, mount
the secret file and source it prior to running `$COMMAND`:
```Dockerfile
```docker
RUN --mount=type=secret,id=auto-devops-build-secrets . /run/secrets/auto-devops-build-secrets && $COMMAND
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment