-
Notifications
You must be signed in to change notification settings - Fork 15
/
action.yml
29 lines (29 loc) · 1.02 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# action.yml
name: 'Gateway Conformance Tests: Extract Fixtures'
description: 'Extracts the fixtures from the Gateway Conformance Tests'
inputs:
output:
description: 'The path where the test fixtures should be extracted.'
required: true
default: 'fixtures'
merged:
description: 'Whether the fixtures should be merged into a single CAR file.'
required: false
default: 'false'
runs:
using: 'composite'
steps:
- id: github
uses: pl-strflt/docker-container-action/.github/actions/github@v1
- name: Extract the fixtures
uses: pl-strflt/docker-container-action@v1
env:
OUTPUT: ${{ inputs.output }}
MERGED: ${{ inputs.merged }}
with:
repository: ${{ steps.github.outputs.action_repository }}
ref: ${{ steps.github.outputs.action_sha || steps.github.outputs.action_ref }}
dockerfile: Dockerfile
args: extract-fixtures --directory="$OUTPUT" --merged="$MERGED"
build-args: |
VERSION:${{ steps.github.outputs.action_ref }}