-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
e79b8b1
commit d64f157
Showing
1 changed file
with
2 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,11 +25,7 @@ inputs: | |
debug_mode: | ||
description: "Run parser in debug mode" | ||
required: false | ||
default: "false" | ||
pull_docker_from_cache: | ||
description: "If should store gitstream docker in GitHub cache" | ||
required: false | ||
default: "false" | ||
default: false | ||
runs: | ||
using: "composite" | ||
steps: | ||
|
@@ -104,17 +100,6 @@ runs: | |
ref: ${{ fromJSON(fromJSON(github.event.inputs.client_payload)).cmRepoRef }} | ||
path: "gitstream/cm/" | ||
|
||
- name: Docker Layer Caching | ||
if: ${{ inputs.pull_docker_from_cache == 'true' }} | ||
uses: satackey/[email protected] | ||
continue-on-error: true | ||
with: | ||
concurrency: 12 | ||
|
||
- name: Pull gitstream Docker | ||
shell: bash | ||
run: docker pull gitstream/rules-engine:latest | ||
|
||
- name: Run The Action | ||
if: always() | ||
run: | | ||
|
@@ -124,6 +109,7 @@ runs: | |
value="${!var}" | ||
echo "$var=$value" >> "$env_file" | ||
done | ||
docker pull gitstream/rules-engine:latest | ||
docker run --env-file $env_file \ | ||
-v $(pwd)/gitstream:/code \ | ||
-e HEAD_REF=$'upstream/${{ steps.safe-strings.outputs.head_ref }}' \ | ||
|