Skip to content

Commit

Permalink
wip: try diff syntax 2
Browse files Browse the repository at this point in the history
  • Loading branch information
boromir674 committed Nov 11, 2023
1 parent 595ae1c commit ca98de2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ jobs:
read_docker_settings:
runs-on: ubuntu-latest
outputs:
DOCKER_POLICY: ${{ steps.derive_docker_policy.outputs.DOCKER_POLICY }}
CASE_POLICY: ${{ steps.derive_docker_policy.outputs.CASE_POLICY }}
steps:
- run: |
if [[ $DOCKER_JOB_ON == "true" ]]; then
Expand All @@ -574,8 +574,8 @@ jobs:
else
DOCKER_POLICY=0
fi
echo "DOCKER_POLICY=$DOCKER_POLICY" >> $GITHUB_ENV
- run: echo "DOCKER_POLICY=$DOCKER_POLICY" >> $GITHUB_OUTPUT
echo "CASE_POLICY=$DOCKER_POLICY" >> $GITHUB_ENV
- run: echo "CASE_POLICY=$CASE_POLICY" >> $GITHUB_OUTPUT
id: derive_docker_policy

docker_build2:
Expand All @@ -584,8 +584,8 @@ jobs:
uses: boromir674/automated-workflows/.github/workflows/docker.yml@test
with:
DOCKER_USER: ${{ vars.DOCKER_USER }}
# acceptance_policy: ${{ needs.read_docker_settings.outputs.DOCKER_POLICY }}
acceptance_policy: ${{ needs.setup_case_1100.outputs.CASE_POLICY == 3 && 3 }}
acceptance_policy: ${{ needs.read_docker_settings.outputs.CASE_POLICY }}
# acceptance_policy: ${{ needs.setup_case_1100.outputs.CASE_POLICY == 3 && 3 }}
image_slug: "neural-style-transfer-cli"
target_stage: "prod_install"
secrets:
Expand Down

0 comments on commit ca98de2

Please sign in to comment.