Skip to content

Commit 4cd5d10

Browse files
committed
validate-inbound-local call docker image directly
1 parent eae1c9c commit 4cd5d10

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/preview-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ jobs:
133133
prefix: ${{ env.PATH_PREFIX }}
134134
strict: ${{ fromJSON(inputs.strict != '' && inputs.strict || 'true') }}
135135

136-
- uses: elastic/docs-builder/actions/validate-inbound-local@main
136+
- name: 'Validate Inbound Links'
137+
uses: elastic/docs-builder/actions/validate-inbound-local@main
137138
if: ${{ !cancelled() && (steps.deployment.outputs.result || (steps.check-files.outputs.any_changed == 'true' && github.event_name == 'merge_group')) }}
138139

139140
- uses: elastic/docs-builder/.github/actions/aws-auth@main
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: 'Validate Inbound Links'
22
description: 'Validates all published cross links from all known repositories against local links.json'
33

4+
inputs:
5+
command:
6+
description: 'The assembler command to run'
7+
required: false
8+
default: "link validate-inbound-local"
9+
410
runs:
5-
using: "composite"
6-
steps:
7-
- name: Validate Inbound Links
8-
uses: elastic/docs-builder/actions/assembler@main
9-
with:
10-
command: "link validate-inbound-local"
11+
using: 'docker'
12+
image: "docker://ghcr.io/elastic/docs-assembler:edge"

0 commit comments

Comments
 (0)