Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c011f52f
Commit
c011f52f
authored
Sep 17, 2019
by
Hordur Freyr Yngvason
Committed by
Achilleas Pipinellis
Sep 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docker code block formatting in ADO docs
parent
e02d5a1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/topics/autodevops/index.md
doc/topics/autodevops/index.md
+2
-2
No files found.
doc/topics/autodevops/index.md
View file @
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
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment