Skip to content

Commit 5cabb21

Browse files
authored
Merge pull request moby#3709 from crazy-max/fix-dockerfile-docs
dockerfile(docs): fix liquid syntax
2 parents 5e0b785 + 923be0b commit 5cabb21

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/docs-upstream.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# this workflow runs the remote validate bake target from docker/docker.github.io
2+
# to check if yaml reference docs and markdown files used in this repo are still
3+
# valid: https://github.com/docker/docs/blob/98c7c9535063ae4cd2cd0a31478a21d16d2f07a3/docker-bake.hcl#L34-L36
4+
# path filters reflects the files that are used as remote resource in this
5+
# repo: https://github.com/docker/docs/blob/d5312d53e255a24e421dfe6c3344359e10271cb8/_config.yml#L202-L217
6+
name: docs-upstream
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
on:
13+
push:
14+
branches:
15+
- 'master'
16+
- 'v[0-9]*'
17+
paths:
18+
- '.github/workflows/docs-upstream.yml'
19+
- 'docs/buildkitd.toml.md'
20+
- 'docs/attestations/slsa-definitions.md'
21+
- 'docs/attestations/attestation-storage.md'
22+
- 'frontend/dockerfile/docs/reference.md'
23+
pull_request:
24+
paths:
25+
- '.github/workflows/docs-upstream.yml'
26+
- 'docs/buildkitd.toml.md'
27+
- 'docs/attestations/slsa-definitions.md'
28+
- 'docs/attestations/attestation-storage.md'
29+
- 'frontend/dockerfile/docs/reference.md'
30+
31+
jobs:
32+
validate:
33+
uses: docker/docs/.github/workflows/validate-upstream.yml@main
34+
with:
35+
repo: https://github.com/${{ github.repository }}

frontend/dockerfile/docs/reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -964,9 +964,11 @@ the most-recently-applied value overrides any previously-set value.
964964
To view an image's labels, use the `docker image inspect` command. You can use
965965
the `--format` option to show just the labels;
966966

967+
{% raw %}
967968
```console
968969
$ docker image inspect --format='{{json .Config.Labels}}' myimage
969970
```
971+
{% endraw %}
970972

971973
```json
972974
{

0 commit comments

Comments
 (0)